#orphan entities - unable to delete, even after cleaning core.entity_registry

5 messages · Page 1 of 1 (latest)

empty summit
#

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 😥

chrome fossil
#

I have the same problem with entities created by ESPHome devices I deleted. I hear spook can help, but I haven't really dived into it yet.

old magnet
#

Which integration? Should maybe file a bug for it if it is reproduceable.

empty summit
abstract hollow
#

Make sure you try a Ctrl+F5. I've seen cases where prior entitles are cached and not actually still there