24 lines
488 B
YAML
24 lines
488 B
YAML
- id: alarm_disarm_andrzej
|
|
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
|
|
alias: "[Alarm][Vacation] Arm Andrzej arrive"
|
|
mode: single
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- person.andrzej_legowski
|
|
to: not_home
|
|
action:
|
|
- service: script.leave_home
|
|
|