From c9561ad03d84a6ae0450b72ba55b1882f7f5ce0e Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 9 Jun 2022 15:09:31 -0400 Subject: [PATCH] Tweaks for traversing the first floor at night --- packages/lighting.yaml | 2 +- scripts.yaml | 29 ++++++++++++++++++----------- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/packages/lighting.yaml b/packages/lighting.yaml index 08d378c..daab936 100644 --- a/packages/lighting.yaml +++ b/packages/lighting.yaml @@ -333,7 +333,7 @@ automation: target: entity_id: input_select.dining_room_lamp_modes data: - option: Reset + option: Full - if: - condition: trigger id: motion-off diff --git a/scripts.yaml b/scripts.yaml index b4a9b8c..1a28389 100644 --- a/scripts.yaml +++ b/scripts.yaml @@ -188,21 +188,28 @@ max_brightness: going_upstairs: alias: Going Upstairs sequence: - - service: switch.turn_off - data: {} + - service: input_select.select_option + data: + option: Adaptive target: entity_id: - - switch.adaptive_lighting_sleep_mode_basement_studio - - switch.adaptive_lighting_sleep_mode_mud_room - - switch.adaptive_lighting_sleep_mode_upstairs_hallway - - service: light.turn_on - data: {} - target: - entity_id: - - light.living_room_lights - - light.basement_led_strip_1 + - input_select.basement_studio_scenes + - input_select.tina_lamp_scenes + - input_select.mud_room_scenes + - input_select.upstairs_hallway_scenes + - input_select.living_room_scenes - service: input_boolean.turn_on entity_id: input_boolean.night_mode + - delay: + hours: 0 + minutes: 2 + seconds: 0 + milliseconds: 0 + - service: input_select.select_option + data: + option: Side Nightlight + target: + entity_id: input_select.master_bedroom_scenes mode: single icon: hue:room-stairs basement_on: