Fix Syntax Error
This commit is contained in:
@@ -83,15 +83,12 @@ automation:
|
|||||||
entity_id: alarm_control_panel.ha_alarm
|
entity_id: alarm_control_panel.ha_alarm
|
||||||
data:
|
data:
|
||||||
code: !secret alarm_code
|
code: !secret alarm_code
|
||||||
- service: notify.telegram_home
|
|
||||||
data:
|
|
||||||
message: Home Armed
|
|
||||||
|
|
||||||
- alias: Auto-Disarm Alarm
|
- alias: Auto-Disarm Alarm
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: input_select.house_presence_state
|
entity_id: input_select.house_presence_state
|
||||||
to: Away
|
to: Just Arrived
|
||||||
condition: "{{ is_state('input_boolean.auto_disarm_alarm', True) }}"
|
condition: "{{ is_state('input_boolean.auto_disarm_alarm', True) }}"
|
||||||
action:
|
action:
|
||||||
- service: alarm_control_panel.alarm_disarm
|
- service: alarm_control_panel.alarm_disarm
|
||||||
@@ -99,9 +96,6 @@ automation:
|
|||||||
entity_id: alarm_control_panel.ha_alarm
|
entity_id: alarm_control_panel.ha_alarm
|
||||||
data:
|
data:
|
||||||
code: !secret alarm_code
|
code: !secret alarm_code
|
||||||
- service: notify.telegram_home
|
|
||||||
data:
|
|
||||||
message: Home Disarmed
|
|
||||||
|
|
||||||
- alias: Notify on Alarm Arm/Disarm
|
- alias: Notify on Alarm Arm/Disarm
|
||||||
trigger:
|
trigger:
|
||||||
|
|||||||
Reference in New Issue
Block a user