-
Notifications
You must be signed in to change notification settings - Fork 0
Entities and bundles
The states unavailable, unknown and problem do not automatically mean that an entity is unused.
Possible causes include:
- a temporarily offline device;
- a sleeping battery-powered device;
- a network problem;
- an integration that has not loaded;
- a sensor that does not yet have a value;
- a device that connects only occasionally.
State and duration are therefore evidence for review, not automatic deletion approval.
Entities can be filtered by:
- state;
- tracked duration;
- integration;
- device;
- area;
- search text.
Where possible, Hass-Cleaner uses Home Assistant's last_changed value.
If a reliable timestamp is unavailable, Hass-Cleaner builds local evidence across consecutive scans.
A first observation is not a persistent problem. Multiple scans spread over several days provide better evidence.
Only entities present in the Home Assistant entity registry can be selected for removal.
Removal uses Home Assistant's official WebSocket API.
Before executing a registry change, Hass-Cleaner requires:
- review of the advice;
- an explicit backup choice;
- risk acknowledgement;
- confirmation of the exact number of selected items.
Runtime-only entities have an active state but no entity registry item.
They cannot be removed by Hass-Cleaner.
An entity disabled by the user, an integration or Home Assistant is shown as information. Being disabled is not evidence that it should be removed.
The Bundles page groups related objects by integration or device.
A bundle may contain:
- devices;
- entities;
- parent or child device relationships;
- configuration-entry relationships;
- related automations, scripts or scenes.
Before removing a bundle, verify:
- whether the integration is still used;
- whether automations reference its entities;
- whether the device can be recreated;
- whether the integration itself manages those registry objects.
Registry removal has no individual undo button.
An integration may recreate removed entities, but this is not guaranteed. Reliable recovery requires a complete Home Assistant backup.