diff --git a/automations.yaml b/automations.yaml index 5210b66..2538075 100644 --- a/automations.yaml +++ b/automations.yaml @@ -299,6 +299,42 @@ - service: adaptive_lighting.apply data: entity_id: switch.adaptive_lighting_living_room + - conditions: + - condition: state + entity_id: input_select.living_room_scenes + state: Energize + sequence: + - service: scene.turn_on + data: {} + target: + entity_id: scene.living_room_energize + - conditions: + - condition: state + entity_id: input_select.living_room_scenes + state: Concentrate + sequence: + - service: scene.turn_on + data: {} + target: + entity_id: scene.living_room_concentrate + - conditions: + - condition: state + entity_id: input_select.living_room_scenes + state: Read + sequence: + - service: scene.turn_on + data: {} + target: + entity_id: scene.living_room_read + - conditions: + - condition: state + entity_id: input_select.living_room_scenes + state: Relax + sequence: + - service: scene.turn_on + data: {} + target: + entity_id: scene.living_room_relax - conditions: - condition: state entity_id: input_select.living_room_scenes diff --git a/configuration.yaml b/configuration.yaml index 5e0fa1a..28f46d0 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -29,8 +29,8 @@ light: - platform: group name: Living Room Lights entities: - - light.living_room_overhead_1 - - light.living_room_overhead_2 + - light.living_room_color_1 + - light.living_room_color_2 - platform: group name: Master Bedroom Lights entities: @@ -74,6 +74,11 @@ light: - light.basement_tall_lamp - light.basement_short_lamp - light.basement_led_strip_1 + - platform: group + name: Upstairs Bathroom Lights + entities: + - light.upstairs_bathroom_left + - light.upstairs_bathroom_right frontend: themes: !include_dir_merge_named themes diff --git a/input_select.yaml b/input_select.yaml index e09f465..187c9aa 100644 --- a/input_select.yaml +++ b/input_select.yaml @@ -5,6 +5,10 @@ living_room_scenes: - Bright - Dimmed - Nightlight + - Energize + - Concentrate + - Read + - Relax - Reset initial: Adaptive icon: hue:room-living diff --git a/scripts.yaml b/scripts.yaml index f756889..d694681 100644 --- a/scripts.yaml +++ b/scripts.yaml @@ -39,16 +39,20 @@ give_me_darkness: - switch.adaptive_lighting_sleep_mode_upstairs_hallway - switch.adaptive_lighting_sleep_mode_mud_room - switch.adaptive_lighting_sleep_mode_dining_room + - switch.adaptive_lighting_sleep_mode_upstairs_bathroom data: {} - service: light.turn_off target: - device_id: - - cfa5796f2572082c37db92f809e432bc - - 3ccbb8face40bff22fd924966bbb19f5 area_id: - kallen_bedroom - master_bedroom + - living_room + - nursery data: {} + - service: light.turn_on + data: {} + target: + area_id: upstairs_bathroom mode: single icon: mdi:weather-night start_youtube: @@ -141,7 +145,9 @@ goodnight: - service: switch.turn_on data: {} target: - entity_id: switch.adaptive_lighting_sleep_mode_upstairs_hallway + entity_id: + - switch.adaptive_lighting_sleep_mode_upstairs_hallway + - switch.adaptive_lighting_sleep_mode_upstairs_bathroom - service: light.turn_off target: area_id: @@ -153,6 +159,7 @@ goodnight: - nursery - living_room - dining_room + - upstairs_hallway data: {} - service: switch.turn_off target: @@ -268,6 +275,7 @@ global_off: - nursery - upstairs_hallway - dining_room + - upstairs_bathroom data: {} - service: switch.turn_off target: @@ -295,6 +303,7 @@ global_on: - nursery - upstairs_hallway - dining_room + - upstairs_bathroom data: {} - service: switch.turn_on target: @@ -320,6 +329,7 @@ max_brightness: - switch.adaptive_lighting_nursery - switch.adaptive_lighting_upstairs_hallway - switch.adaptive_lighting_dining_room + - switch.adaptive_lighting_upstairs_bathroom data: {} - delay: hours: 0 @@ -337,6 +347,7 @@ max_brightness: - nursery - upstairs_hallway - dining_room + - upstairs_bathroom data: brightness_pct: 100 - service: light.turn_on @@ -358,12 +369,14 @@ going_upstairs: - switch.adaptive_lighting_sleep_mode_basement_studio - switch.adaptive_lighting_sleep_mode_mud_room - switch.adaptive_lighting_sleep_mode_upstairs_hallway + - switch.adaptive_lighting_sleep_mode_upstairs_bathroom - service: light.turn_on data: {} target: entity_id: - light.living_room_lights - light.basement_led_strip_1 + - light.upstairs_bathroom_lights mode: single icon: hue:room-stairs good_morning: