You can change the ignore_seconds value to 900 (15 minutes) so entities don’t show up in the list for 15 minutes.
You can change the time pattern trigger in the group update automation so the group only updates every 15 minutes meaning the entity_id attribute change will only trigger the notification at the most every 15 minutes.
- trigger: time_pattern
minutes: "/15"
You could change the for: parameter in your notification automation to 15 minutes, but if the entity id list changes again before the 15 minutes, it won’t notify you for 15 minutes after the LAST change. If the list changes every 5 minutes, you will never get notified.
- trigger: state
entity_id: group.unavailable_entities
attribute: entity_id
to: ~
for:
minutes: 15
@jazzyisj Thank you for laying this out for me (and others). I’m not quite to the point of knowing the details of how things really will work based on reading the yaml yet.
It looks like the ignore_seconds is really what I’m after based on your explanation. Some devices are just flaky on my network for seemingly no reason and this will be good for those intermittent drop offs. I don’t have many mission critical devices but I guess if I did, I could run your template twice and change the entity names in the second one to be able to have 2 different notifier list.
Hey there,
came accross your template and I realy like it for the purpose of showing unavailable devices.
Got the idea, if it wouldn’t be possible to working with labels. In a way that instead of “hardcode” ignores entities, you set a label and ignore the entities with the set label.
Any idea how to implement this?
v2.4 has been released which now automatically ignores entities belonging to disabled devices and adds the capability to ignore devices and entities using labels.
Some of my Tasmota devices have been dropping off the WiFi network and manually looking for those periodically has been driving me nuts so this is a godsend.
I set it up as a package and tried to use your example card but it gives me a configuration error. If I look at group.unavailable_entities manually, though, I can see the unavailables and the unknowns.
Where do I start looking to debug this?
Also, is there a quick way to filter out the unknowns and only show the unavailables as the first filter?
I’m using the same config as before but a newer version of HA and the dashboard tells me there is a Configuration Error. Where would I go to look for additional details on the error?
Thank you for your help. I’ve been struggling with my Zwave network for several months. I managed to get the Zwave Status and Offline Zwave Device sensors working, but not the others (Zwave Network, etc.). They seem to use binary that listen to the controller’s status. But how do I create them? I admit I’m a little lost.