I reused an old Wemos D1 Mini that had formerly been flashed with “wemos_blinkr.yaml”. The new entity is “ld1125”. I deleted the entity and yaml file for wemos_blinkr. So, why is the new device still using the old device entity names and is there any way to fix it?
Delete the device (not entity) from Home Assistant move the device yaml file from confg/ESPHome to somewhere safe.
Turn off the device.
Restart Home Assistant.
Re-flash the device with the saved YAML.
Add the discovered Device to Home Assistant.
Thanks for the tip… Any idea why the entity IDs took the prior IDs?
They were still in .storage as “restored” entities.
Can I safely delete the entity from “restored”?
I’m not trying to be rude, but considering the troubles you have with Home Assistant that you post about here, no you probably shouldn’t mess with the .storage registry.
You can delete restored entities from the Devices and Services Entity list if they remain after deleting their parent device.
I have problems because I am always pushing the envelope. Sometimes I get frustrated and that comes across in my posts. I probably restore my system from a backup more often than most users.
I am not one who accepts, “because” when I ask “why”. I could easily find the file using grep, I just asked if it was safe to delete it.