HA 2025.1.1
I changed the entity_id of an entity from
binary_sensor.motion_sensor_bath1
to
binary_sensor.motion_sensor_bath_1
After saving and restarting HA, both sensors now exist!
If I choose the settings gear for the first, HA says;
This entity ('binary_sensor.motion_sensor_bath1') does not have a unique ID, therefore its settings cannot be managed from the UI
The other entity appears to be OK.
I'm unable to delete the original (orphaned) entity.
I also tried stopping HA and edit the file core.entity_registry (after first making a backup copy), then deleting all lines with that entity_id and then restart HA, and both entities are still there!
Please help, anyone 😥