I have some old ESPHome 1.1x devices with underscores in their names which I’d like to rename. I did the ESPHome end OK using use_address in the device yaml, but I had trouble getting HA to update the device name.
In the log I see this message repeatedly: homeassistant | 2022-11-06 12:58:53.433 WARNING (MainThread) [homeassistant.components.esphome] Name of device plug_brilliant_2 changed to plug-brilliant-2, potentially due to IP reassignment
This didn’t seem to fix the existing entity and I didn’t see how to fix this manually. I deleted the entity, then restarted HA and the new one was detected. In this case the new entity has the same name, but I might make some more significant changes to other device names.
Nope, that didn’t help. I tried it on another device I renamed in esphome, and while it changed the name on the integrations page, it hasn’t changed the entity names and the “Name of device” warnings continue.
Restarting HA without deleting the old device hasn’t helped either.