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

Failed to call service watchman.report. Unknown service parameter: ignored_items. #126

Closed pauldcomanici closed 4 months ago

pauldcomanici commented 7 months ago

I'm trying to run watchman with ignored_items option and I get this error

Failed to call service watchman.report. Unknown service parameter: ignored_items.

From developer tools -> services -> yaml mode I tried:

service: watchman.report
data:
  create_file: true
  send_notification: false
  parse_config: false
  chunk_size: false
  ignored_items: "*.0_lv1_*,binary_sensor.0_ct_smoke_smoke,binary_sensor.1_dm_smoke_smoke"

I'm doing something wrong or ignored_items doesn't work?

dummylabs commented 4 months ago

This is a configuration parameter which can be set up in integration configuration setting UI. Documentation has ignored_items reference which was introduced when Watchman has yaml configuration and was not removed when it switched to UI configuration. This is why it can be confused with service parameter. The correct name of config parameter is: Ignored entities and services. I'll change readme accordingly, thanks.