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