I’ve just installed a new ge z-wave switch. Its name came through as switch.switch. Naturally I’d like to rename it to something more… specific.
I’m currently running Home Assistant version 0.64.3 . Now that the entity_registry exists, how should I go about renaming this device? With the z-wave configuration rename node command? By editing the entity_registry? Both?
Rename Node sets the name of the zwave entity - this won’t happen immediately, and requires you to restart Home Assistant (not reboot) to set the new name. Other entities of a device are renamed using the entity registry.
Every Z-wave unit will show as (minimum) two entities in HASS: one Z-wave entity and at least one unit specific entity, i.e. zwave.switch and switch.switch. In case there are more parameters available on the Z-wave entity there will be more switch entities available, for example switch.switch_power or similar.
The switch.switch entity can only be renamed in the entity register file, locate your entity and change the title (NOT the name entry), i.e. change switch.switch to switch.frontporchlight or whatever you like. Restart HASS and your entity should be available with the new name.
Simple, zwave. is the control entity for the device. The other entities relate to that functionality. So one of my sockets also has a switch. entity, and a bunch of sensor. entities for power usage.