1
0
ansible-home-assistant/configuration/automations/vacation-alarm-disarm-andrzej.yaml

24 lines
488 B
YAML
Raw Normal View History

- id: alarm_disarm_andrzej
2022-06-05 23:27:38 +00:00
alias: "[Alarm][Vacation] Disarm Andrzej arrive"
mode: single
trigger:
- platform: state
entity_id:
- person.andrzej_legowski
to: home
condition: [ ]
action:
- service: script.arrive_home
- id: alarm_arm_andrzej
2022-08-06 21:39:34 +00:00
alias: "[Alarm][Vacation] Arm Andrzej arrive"
2022-06-05 23:27:38 +00:00
mode: single
trigger:
- platform: state
entity_id:
- person.andrzej_legowski
to: not_home
action:
- service: script.leave_home