@ptdalen wrote:
I have an automation that lets me know if one of my three locks did not lock as expected
{% set unlocked = states | selectattr('entity_id', 'in', state_attr('group.all_locks','entity_id')) | selectattr('state','eq','unlocked') | map(attribute='name') | join(', ') %} The following locks failed to lock: {{ unlocked }}. This was the second attempt. Please lock using the app.
Any recommendations on best way to update this without creating a group.all_locks?
Posts: 3
Participants: 3