diff --git a/automations/files/alarm.yaml b/automations/files/alarm.yaml index 6511be2..051e264 100644 --- a/automations/files/alarm.yaml +++ b/automations/files/alarm.yaml @@ -71,6 +71,17 @@ - service: alarm_control_panel.alarm_arm_away entity_id: alarm_control_panel.ha_alarm +- id: alarm-disarm + alias: '[Alarm] Disarm' + trigger: + - platform: zone + entity_id: device_tracker.sm_g965f + zone: zone.home + event: enter + action: + - service: alarm_control_panel.alarm_arm_away + entity_id: alarm_control_panel.ha_alarm + - id: alarm-triggered alias: '[Alarm] Send notification when alarm triggered' trigger: