Skip to content

entity (re-) naming based on device name #242

Description

@leo-b

I just upgraded from the homeassistant shipped version to 1.8.0 to test the new zone entities.
Unfortunately this led to a renaming of most of my entities.

Previously, with the HA-provided version, I was able to change the device prefix in name of all entities by changing the default device name (in my case "NIBE S1155-6 PC EM 3X400V S1155-6 PC") to something like "Nibe-MyUplink". (Which will bestored in the "name_by_user" device attribute.) After doing that, I could rename all entities to "nibe_myuplink_" prefixes by selecting "Recreate entity IDs" in the device settings.

However, on version 1.8.0 all entity IDs reverted back to the name based on the automatically assigned device name, resulting in entity_id prefixes of "nibe_s1155_6_pc_em_3x400v_". (The device "name_by_user" attribute is still set to "Nibe-MyUplink" and all entities with "nibe_myuplink_" prefix are now unavailable.)

Could you please fix this to bring back the old behavior that respected the "name_by_user" device attribute?

Cheers,
--leo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions