I am trying to figure out how to show entities that have fallen off of the zigbee network. Code below is not real code, but it is along the lines I am thinking. I only really want to show entities that need some attention.
I am sure someone here must have already solved this problem. I think it could also be solved with a not seen in x amount of time but that feels overly complex.
Sorry to resurrect this however I was trying to the same thing and found that you can do this using the inbuilt tools in HA (you were however pretty close!), so to save any need to add any new templates, I used the following:
type: entity-filter
entities:
- light.landing_light
- light.big_light
- light.back_light
- light.hall_light
state_filter:
- unavailable
card:
type: glance
title: Who switched off the lights?
I hope this helps anyone going forward, I certainly find it useful after anyone not used to smart lights and dumb switches has been staying in my house.