thewatchman icon indicating copy to clipboard operation
thewatchman copied to clipboard

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

Open dummylabs opened this issue 2 years ago • 4 comments

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.

dummylabs avatar Apr 13 '22 11:04 dummylabs

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?

DennisGaida avatar Apr 20 '22 08:04 DennisGaida

Related to #11.

dummylabs avatar Jun 13 '22 09:06 dummylabs

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.

dummylabs avatar Jun 13 '22 09:06 dummylabs

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, ...

noxhirsch avatar Jul 02 '22 09:07 noxhirsch