You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm configuring Watchman to notify of unavailable lights (specifically).
Currently the only way for me to achieve this is to:
1: Run an offline entities report
2: Add all the notification groups I don't want to hear about by adding them as ignore options (scene., sensor. etc).
It would be great if there were the inverse option of ignore -- a whitelist (only report on entities matching these conditions).
Then I could just add: light.* to achieve the same functionality.
The text was updated successfully, but these errors were encountered:
In theory there should be a way since (for some bizarre reason, versus re.match()) the author is using fnmatch() on each entity and service while building the list and, because of that, Unix filenaming globbing like this SHOULD work (but for some reason, doesn't):
(That assumes the only whitelisted entity or service would be notify.pushover and everything else gets blacklisted.)
Ideally it would be switched to re.match() since these in particular are not filenames in the first place (fnmatch() = File Name Match), then we could take the guess-work out of it and "simply" put:
I'm configuring Watchman to notify of unavailable lights (specifically).
Currently the only way for me to achieve this is to:
1: Run an offline entities report
2: Add all the notification groups I don't want to hear about by adding them as ignore options (scene., sensor. etc).
It would be great if there were the inverse option of ignore -- a whitelist (only report on entities matching these conditions).
Then I could just add: light.* to achieve the same functionality.
The text was updated successfully, but these errors were encountered: