dummylabs / thewatchman

Home Assistant custom integration to keep track of missing entities and actions in your config files
MIT License
476 stars 20 forks source link

Output all entities from HA which are not mentioned by configuration files #26

Open dummylabs opened 2 years ago

dummylabs commented 2 years ago

Special report mode to detect entities which are not used by the configuration. It's aimed to detect and remove orphaned/unused entities from the HA database.

DennisGaida commented 2 years ago

Jumping onto this enhancement issue: I assume only entities that are mentioned in the configuration yaml files are included, but not those that were added automatically via the UI and are not specifically configured via yaml?

dummylabs commented 2 years ago

Related to #11.

dummylabs commented 2 years ago

Hey @DennisGaida, if I got you right, yes, the detection of automatic stuff from Dashboards (ex-Lovelace UI) can be managed by user in the watchman configuration. That said, if you switch it off, those config entries become "invisible" for watchman and will not take part in any watchman report - current or future.

noxhirsch commented 2 years ago

Special report mode to detect entities which are not used by the configuration.

If I understand that correctly, that would be exactly what I need: A way to list all entities which are not used neither in the Lovelace dashboards nor in any automations, scripts, sensors, ...