Moving dogmode activation to security package, since lighting is now lux controlled

This commit is contained in:
Jeffrey Stone 2020-12-13 22:25:05 -05:00
parent 058f49c32c
commit c10b696657
1 changed files with 10 additions and 0 deletions

View File

@ -45,6 +45,16 @@ alarm_control_panel:
automation:
- id: dog_mode_activated
alias: Dog Mode Activated
trigger:
- platform: state
entity_id: binary_sensor.kitchen_motion
to: 'on'
action:
- service: script.dog_mode_on
- id: enable_vacation_mode
alias: Enable Vacation Mode
initial_state: true