From 409ea7c22cfcd45f225c47ab4b9397365d16535f Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 24 Jan 2024 14:38:28 -0500 Subject: [PATCH] Leave hallway automation to motion lighting --- packages/emmalynn.yaml | 16 ---------------- scripts.yaml | 17 +---------------- 2 files changed, 1 insertion(+), 32 deletions(-) diff --git a/packages/emmalynn.yaml b/packages/emmalynn.yaml index 26780c7..c8d0f73 100644 --- a/packages/emmalynn.yaml +++ b/packages/emmalynn.yaml @@ -979,14 +979,12 @@ script: target: entity_id: - light.emma_bedroom_light - - light.hallway_overhead - delay: seconds: 1 - service: input_select.select_option target: entity_id: - input_select.emma_bedroom_scenes - - input_select.upstairs_hallway_scenes data: option: Adaptive - service: adaptive_lighting.set_manual_control @@ -1135,20 +1133,6 @@ script: time: > {% from 'time.jinja' import current_time %} {{ current_time('time',24) }} - - if: - - condition: state - entity_id: binary_sensor.early_night_mode - state: 'on' - then: - - service: light.turn_on - target: - entity_id: light.hallway_overhead - - service: input_select.select_option - target: - entity_id: - - input_select.upstairs_hallway_scenes - data: - option: Adaptive - service: switch.turn_off target: entity_id: switch.adaptive_lighting_emma_bedroom diff --git a/scripts.yaml b/scripts.yaml index 276e596..bc528fd 100644 --- a/scripts.yaml +++ b/scripts.yaml @@ -264,7 +264,6 @@ going_upstairs: - 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 alias: Set scenes - service: input_boolean.turn_on @@ -1587,22 +1586,8 @@ goodnight_on_second_floor: - kallen_bedroom - master_bedroom - master_bedroom_closet + - upstairs_hallway data: {} - - if: - - condition: state - entity_id: input_boolean.guest_mode - state: 'on' - then: - - service: input_select.select_option - target: - entity_id: input_select.upstairs_hallway_scenes - data: - option: Nightlight - else: - - service: light.turn_off - target: - entity_id: light.hallway_overhead - data: {} - if: - condition: state entity_id: input_boolean.kallen_overnight