Menu

Orphan Entity Cleaner 4.2: tells dead entities apart from ones that are just offline before you delete anything

Reading 0:00
15s threshold

I maintain **Orphan Entity Cleaner**, a custom integration (HACS Default) that finds entities left in the registry after an integration was removed, and lets you delete them from a sidebar panel.

The most common complaint with tools like this is that they flag entities that are only temporarily unavailable. 4.2 tries to fix that by putting every candidate into one of three categories:

- **Safe** - nothing provides it any more. Only these are selected or deleted automatically.

- **To review** - integration disabled, failing or retrying.

- **Only unavailable** - device just off for a while.

It also uses HA's own "no longer provided" signal (`restored: true`), shows a **"used by N"** badge for entities still referenced in automations, scripts or scenes, can remove **orphan devices**, and waits 10 minutes after start-up before reporting anything.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.