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

Can't get "ignored files" config setting to work #104

Closed nickdos closed 1 year ago

nickdos commented 1 year ago

I've read through a few closed issues similar to mine and they all seem to end in "oops I made a mistake". So I've checked my config 5-6 times as well as changing minor things like typing vs copying and pasting from README examples and nothing seems to work. But apologies in advanced if I'm just being a bit dim.

My config has the following:

image

but I'm still seeing files in both (ignored) directories being reported in my output file (below). What am I missing?

-== Watchman Report Bug ==- 

-== Missing 1 service(s) from 51 found in your config:
+-------------------------------------+---------+-------------------------------------------------------------------+
| Service ID                          | State   | Location                                                          |
+-------------------------------------+---------+-------------------------------------------------------------------+
| homekit.start                       | missing | automation/notifications.yaml:101                                 |
+-------------------------------------+---------+-------------------------------------------------------------------+

-== Missing 171 entity(ies) from 342 found in your config:
+-------------------------------------+---------+-------------------------------------------------------------------+
| Entity ID                           | State   | Location                                                          |
+-------------------------------------+---------+-------------------------------------------------------------------+
| light.aden_led_strip                | unavail | scenes.yaml:37                                                    |
| light.hazel_led_strip               | unavail | scenes.yaml:41                                                    |
| sensor.hackett_rain_since_9am       | missing | configuration.yaml:100                                            |
| binary_sensor.water_meter_contact   | missing | configuration.yaml:260                                            |
| binary_sensor.water_flow_trend      | unknown | configuration.yaml:290                                            |
| sensor.hackett_temp_min_0           | unknown | configuration.yaml:416,419                                        |
| sensor.outdoor_temperature          | missing | configuration.yaml:490                                            |
| sensor.indoor_temperature           | missing | configuration.yaml:495,497                                        |
| sensor.wind_direction               | missing | configuration.yaml:502                                            |
| sensor.relative_pressure            | missing | configuration.yaml:509                                            |
| sensor.solar_radiation              | missing | configuration.yaml:515                                            |
| sensor.wind_speed                   | missing | configuration.yaml:521                                            |
| sensor.wind_gust                    | missing | configuration.yaml:527                                            |
| sensor.backyard_humidity            | unknown | configuration.yaml:784                                            |
| sensor.backyard_temperature         | unknown | configuration.yaml:785                                            |
| switch.xmas_tree                    | missing | configuration.yaml:792                                            |
| switch.smart_fan                    | missing | configuration.yaml:808                                            |
| switch.sonoff_plug2                 | unavail | configuration.yaml:809                                            |
| fan.stirling_fs1_40dc_pedestal_fan  | missing | configuration.yaml:810                                            |
| binary_sensor.openclose_21          | missing | configuration.yaml:883                                            |
| scene.climate_state                 | missing | automation/climate.yaml:300,331                                   |
| binary_sensor.tradfri_motion_sensor | missing | automation/lights.yaml:637,656,680                                |
| binary_sensor.openclose_13          | missing | automation/notifications.yaml:107                                 |
| binary_sensor.openclose_14          | missing | automation/notifications.yaml:108                                 |
| climate.pid                         | missing | esphome/D1-mini-1.yaml:79                                         |
| script.execute                      | missing | esphome/power-sensor-4-channel.yaml:63                            |
| alarm_control_panel.alarm           | missing | custom_components/alarmo/services.yaml:9,59                       |
| sensor.general_waste                | missing | custom_components/garbage_collection/services.yaml:9,21,33,48,60  |
| sensor.bom_canberra_air_temp_c      | missing | archived/ui-lovelace-old.yaml:18                                  |
| sensor.bom_canberra_weather         | missing | archived/ui-lovelace-old.yaml:20                                  |
| device_tracker.nicks_iphone         | missing | archived/ui-lovelace-old.yaml:26                                  |
| device_tracker.kaths_iphone         | missing | archived/ui-lovelace-old.yaml:27                                  |
| device_tracker.itag                 | missing | archived/ui-lovelace-old.yaml:28                                  |
| device_tracker.itag_2               | missing | archived/ui-lovelace-old.yaml:29                                  |
| light.yeelight_rgb_7811dc6ba42e     | missing | archived/ui-lovelace-old.yaml:36                                  |
| light.yeelight_rgb_7811dc6849be     | missing | archived/ui-lovelace-old.yaml:38                                  |
| light.sunroom_lights                | missing | archived/ui-lovelace-old.yaml:50                                  |
nickdos commented 1 year ago

OK after reading a bit more, I worked out there are TWO ignored settings and I was using the wrong config in the wrong entry. The fact these 2 settings are so far away from each other (separated by 4 other settings) despite being so similar, probably did not help. My suggestion is to group these together in the UI.