From 230db2fe68b004c1f58c38a9a3f0a47c9adc214e Mon Sep 17 00:00:00 2001 From: pgrondek Date: Wed, 30 Jun 2021 23:54:16 +0200 Subject: [PATCH] Add auto turn on/off kitchen camera --- scripts/10.modes.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/10.modes.yaml b/scripts/10.modes.yaml index 0cc5244..c08fb08 100644 --- a/scripts/10.modes.yaml +++ b/scripts/10.modes.yaml @@ -106,8 +106,9 @@ leave_home: - light.computer_computer_cave_background - service: switch.turn_on entity_id: - - switch.monitor_1_state - - switch.monitor_2_state + - switch.kitchen_camera_outlet_on_off + - switch.monitor_1_state + - switch.monitor_2_state - service: switch.turn_off entity_id: switch.desk_motor_on_off - service: script.pc_sleep @@ -138,5 +139,6 @@ arrive_home: entity_id: - switch.monitor_1_state - switch.monitor_2_state + - switch.kitchen_camera_outlet_on_off mode: single icon: mdi:home-import-outline \ No newline at end of file