fix: Fix syntax error in conditional
This commit is contained in:
@@ -516,9 +516,8 @@ automation:
|
||||
payload: new
|
||||
value_template: "{{ value_json.type }}"
|
||||
condition:
|
||||
- condition: "{{ not is_state('alarm_control_panel.ha_alarm', 'disarmed') }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.payload_json.after.has_clip }}"
|
||||
- "{{ not is_state('alarm_control_panel.ha_alarm', 'disarmed') }}"
|
||||
- "{{ trigger.payload_json.after.has_clip }}"
|
||||
action:
|
||||
- service: notify.security
|
||||
data:
|
||||
|
||||
Reference in New Issue
Block a user