(Show on dashboard) Count of errors on Amber [yaml snippet] #22
Getiem
started this conversation in
Automations & sensors
Replies: 1 comment 8 replies
|
List of all errors/alarms on your dashboard: Prerequisite:
Create a card on your dashboard: |
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
I created a helper with the count of active errors.
First:
Go to the integration and mark all the entities that are alarms with the label "amberalarm"
Second, create a helper, template sensor
Template:
{% set alarmlist = label_entities('amberalarm') | select('match', 'sensor') | expand() | rejectattr('state', 'in', ["No Alarm", "Inactive"]) | map(attribute='name') | list %} {{ alarmlist | count }}Have fun!
All reactions