I have a wemo mini switch that used to have the coffee machine plugged in, and it was installed before the Entity Registry was introduced. The entity_id that was then assigned was ‘switch.coffee_machine’.
I decided to move this switch somewhere else in the house, and from à maintenability perspective, it does notre make sens to keep that entity_id.
I changed the name of the switch in the wemo app… This would normally have changed the entity_id in Homme Assistant prior the introduction of the Entity Registry… How can I now change it ?!
Any luck with this? I tried changing the name of my two WEMOs in the WEMO app, but HA didn’t pickup the change so I haven’t figured out how to change these either.
This happens because of the new entity registry introduced a while back. The way I resolved it was to find the WeMo entities in entity_registry.yaml and remove them. Restarted HASS, and the devices re-detected as the new names. The entry looks like:
I assume you could also probably just change the original-wemo-name and restart HASS…but I haven’t tested that. Keep in mind you’ll also need to update your groups.yaml to use the new names if you have any customizations including these switches.
@RandyF Thanks for this - deleting the entries from entity_registry.yaml and then rebooting worked for me, hass.io detected the new names of the wemo switches on reboot.