This is an automated archive made by the Lemmit Bot.
The original was posted on /r/homeassistant by /u/No_Teaching_4383 on 2026-03-06 19:10:07+00:00.
Hey everyone,
Like many of you, my Home Assistant instance has accumulated a lot of "cruft" over the years. Old Zigbee bulbs I replaced, ESPHome nodes I renamed, or battery devices that died months ago.
They leave behind those annoying unavailable or unknown entities that clutter up the registry. Finding them is annoying, but deleting them from the Entity Registry one by one is a nightmare.
So, I built Unavailable Devices Report.
It does two things:
- The Report: It creates a sensor that generates a clean Markdown report (grouped by Device) of everything that is currently offline or broken. You can put this directly on your "Maintenance" dashboard.
- The Purge (The Killer Feature): It includes a service (
unavailable_devices_report.remove_items) that can take that list and permanently delete those ghost entities from the registry in bulk.
Features:
- Device-Centric: It doesn't just list entities; it groups them by the physical device so you know exactly which piece of hardware is acting up.
- Custom Exclusions: You can ignore specific entities (like that one printer that is always offline) via the UI options.
- Safety First: The purge service is manual-only. It won't delete anything unless you tell it to (and I included an example automation in the docs to ask for confirmation first).
https://preview.redd.it/gchbs2nd4hng1.png?width=730&format=png&auto=webp&s=0c516c3b894394a8810dc69d30dd3330d35343ca
Links:
I’d love to hear what you think or if there are other "maintenance" chores you hate that could be automated!