So I’m using an Auto Entities Card to display various alarm conditions. This works fine. What I also want to do is set a single helper or global variable that would indicate if there is an alarm condition. I would use this to trigger an “Alarms Present” indicator on the header of my screen like this.
When clicked, it would take me to another screen which displays the alarms (Auto Entities Card).
I’m not sure if this is even possible but perhaps something could be placed in the “else:” section of the Auto Entities Card?
Any suggestions???
My current auto-entities card…
type: custom:auto-entities
card:
type: entities
state_color: true
filter:
include:
- entity_id: sensor.*battery*
attributes:
device_class: battery
state: <25
options:
secondary_info: last-changed
- label: Security
state: unlocked
options:
secondary_info: last-changed
sort:
method: last_changed
reverse: true
ignore_case: true
ip: false
show_empty: false
else:
**[This is where I would like to set/clear a global "Alarms Present" tag to true or false]**