What is the best way to tigger an automation when 2 states do not match?
trigger:
platform: template
value_template: "{{ states('ENTITY_ID-1') != states('ENTITY_ID-2') }}"
3 Likes
What is the best way to tigger an automation when 2 states do not match?
trigger:
platform: template
value_template: "{{ states('ENTITY_ID-1') != states('ENTITY_ID-2') }}"