1
0
ansible-home-assistant/roles/scripts/templates/alarm.yaml.j2

27 lines
649 B
Plaintext
Raw Permalink Normal View History

2024-07-31 17:59:47 +00:00
alarm_arm_stay:
alias: '[Alarm] arm stay'
mode: single
icon: mdi:weather-night
sequence:
- service: alarm_control_panel.alarm_arm_home
entity_id: alarm_control_panel.home_alarm
data:
code: "{{ alarm_code }}"
alarm_arm_away:
alias: '[Alarm] arm away'
mode: single
sequence:
- service: alarm_control_panel.alarm_arm_away
entity_id: alarm_control_panel.home_alarm
data:
code: "{{ alarm_code }}"
alarm_disarm:
alias: '[Alarm] disarm'
sequence:
- service: alarm_control_panel.alarm_disarm
entity_id: alarm_control_panel.home_alarm
data:
code: "{{ alarm_code }}"