dummylabs / thewatchman

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

ESPHome False Positive #65

Closed kernelpanic85 closed 1 day ago

kernelpanic85 commented 2 years ago

I think Watchman may be incorrectly reporting missing entities in my ESPHome configs. The following are the errors reported and attached is the yaml config in question. My switch compiles and is working normally as far as I can tell.

| light.is_on | missing | esphome/kitchen-overhead-master.yaml:106,146 | | light.dim_relative | missing | esphome/kitchen-overhead-master.yaml:109,149

kitchen-overhead-master.txt

filmgarage commented 1 year ago

You may want to add the esphome directory to the ignored files in the Watchman configuration: Settings > Devices & Services > Integrations > Watchman > Configure (scroll down) You would have to add /config/esphome/* to the list (comma seperated if you add more than one)

kernelpanic85 commented 1 year ago

Thanks, not a bad idea. Though is Watchman supposed to provide an accurate evaluation of ESPHome configs?

m1dst commented 1 year ago

I find mine is doing the same with the call to internal esphome scripts. So the script is never going to be available to HA as it is just an internal function. I'll exclude the directory for now.

dummylabs commented 1 day ago

New installations of Watchman (0.6.4 and latter) will have esphome dir in ignored items list by default.