From 0a1b2eb7e4740eb79629536174f9c389f54de105 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 10 Feb 2022 16:44:06 -0500 Subject: [PATCH] Created scene selection dropdown for K's bedroom --- automations.yaml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ input_select.yaml | 9 +++++++++ 2 files changed, 55 insertions(+) diff --git a/automations.yaml b/automations.yaml index c687d36..de012f0 100644 --- a/automations.yaml +++ b/automations.yaml @@ -427,3 +427,49 @@ entity_id: switch.adaptive_lighting_upstairs_hallway default: [] mode: single +- id: '1644529426060' + alias: Kallen Bedroom Scenes + description: '' + trigger: + - platform: state + entity_id: input_select.kallen_bedroom_scenes + condition: [] + action: + - choose: + - conditions: + - condition: state + entity_id: input_select.kallen_bedroom_scenes + state: Bright + sequence: + - service: scene.turn_on + data: {} + target: + entity_id: scene.kallen_bedroom_bright + - conditions: + - condition: state + entity_id: input_select.kallen_bedroom_scenes + state: Dimmed + sequence: + - service: scene.turn_on + data: {} + target: + entity_id: scene.kallen_bedroom_dimmed + - conditions: + - condition: state + entity_id: input_select.kallen_bedroom_scenes + state: Nightlight + sequence: + - service: scene.turn_on + data: {} + target: + entity_id: scene.kallen_bedroom_nightlight + - conditions: + - condition: state + entity_id: input_select.kallen_bedroom_scenes + state: Adaptive + sequence: + - service: adaptive_lighting.apply + data: + entity_id: switch.adaptive_lighting_kallen_bedroom + default: [] + mode: single diff --git a/input_select.yaml b/input_select.yaml index c606a64..14efdb8 100644 --- a/input_select.yaml +++ b/input_select.yaml @@ -33,3 +33,12 @@ upstairs_hallway_scenes: - Nightlight initial: Adaptive icon: hue:ceiling-round +kallen_bedroom_scenes: + name: Kallen Bedroom Scenes + options: + - Adaptive + - Bright + - Dimmed + - Nightlight + initial: Adaptive + icon: mdi:bunk-bed