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

Will not find errors when reconfiguring integration to exclude files and/or folders #78

Closed curt7000 closed 4 months ago

curt7000 commented 1 year ago

I am running HA Core 2023.2.1, VENV on Python 3.10. Integration has been running well for quite some time, thank you! However, I have some KeyMaster yaml and services that I would like to exclude. I tried “Configuring” the integration again with the file/folder exceptions but after saving, Watchman no longer identifies known errors that were previously listed and not part of the exception list. This occurs even after restarting and reloading the integration.

note: I have not removed and attempted to reinstall the integration.

filmgarage commented 1 year ago

Maybe you can post the file/folder exception you set up. Otherwise it is going to be very difficult for anyone to help you. ;-)

curt7000 commented 1 year ago

I've attempted to exclude files by entering: */customize.yaml, */groups.yaml

For folders, I've attempted to exclude by entering: /config/custom_components/*, /config/backup/*

curt7000 commented 1 year ago

I tried removing the integration and reinstalling it but still no dice. Restoring my VM back to the previous state, the Watchman Service works as expected.

-== Watchman Report ==-

-== No services found in configuration files!

-== No entities found in configuration files!

-== Report created on 11 Feb 2023 16:38:39 -== Parsed 0 files in 0.00s., ignored 0 files -== Generated in: 0.00s. Validated in: 0.00s.

dummylabs commented 4 months ago

According to the report, Watchman found 0 files to parse and 0 files were ignored. My bet is that path to the config directory is not correct. Feel free to reopen this issue if additional details come to light.