If you have had Home Assistant for a while, then you have also definitely added and removed some things in the solution over time. Have you ever thought about where all the information is stored? For example. how many of your automations use a device, like you. maybe have removed?
This is basically not a crisis, as Home Assistant will work anyway. But – the more you have lying in e.g. automations, configurations, etc. that do not exist, the slower the Home Assistant will be over time.
But how do you get control of all this? This is where the ingenious integration “The Watchman” comes into the picture. The Watchman is an integration that checks the Home Assistant for devices / devices that no longer exist, but which is in one or another configuration – and gives you a report on that in the end. Thus, it is suddenly a little easier to get control, and tune Home Assistant for the better again.
Installation
Installing The Watchman is a relatively simple task, especially if you already have HACS (if you do not have one – you should install HACS)
Search for “The Watchman” in HACS and select “Download this repository with HACS”. When done, restart the Home Assistant.
After Home Assistant has restarted, go to add integraton and search for Watchman.
You do not need to configure anything on the integration, all settings are optional. But – if you press “Configure” on the integration then it may be okay to check the last two checkboxes.
Generate report
To generate a new report, you need to run watchman. You do this under Developer Tools and Services. Find “Watchman: report” and press “Call Service”.
Then The Watchman generates a report which is stored under the cofiguration folder in Home Assistant. The file is named (if you have not selected another filename in the configuration) watchman_report.txt
Open the file and you will see everything that you should take a check of.