From c10b6966577d688535df710da389da62f971b171 Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Sun, 13 Dec 2020 22:25:05 -0500 Subject: [PATCH] Moving dogmode activation to security package, since lighting is now lux controlled --- config/packages/security.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index ec3f3f4..61be3af 100755 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -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