From 9a27f01571fdd57879fa850ffe4bac828fe421e1 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 10 Feb 2022 16:48:10 -0500 Subject: [PATCH] Created scene selection dropdown for E's bedroom --- automations.yaml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ input_select.yaml | 9 +++++++++ 2 files changed, 55 insertions(+) diff --git a/automations.yaml b/automations.yaml index de012f0..dfcc44b 100644 --- a/automations.yaml +++ b/automations.yaml @@ -473,3 +473,49 @@ entity_id: switch.adaptive_lighting_kallen_bedroom default: [] mode: single +- id: '1644529671106' + alias: Nursery Scenes + description: '' + trigger: + - platform: state + entity_id: input_select.nursery_scenes + condition: [] + action: + - choose: + - conditions: + - condition: state + entity_id: input_select.nursery_scenes + state: Bright + sequence: + - service: scene.turn_on + data: {} + target: + entity_id: scene.nursery_bright + - conditions: + - condition: state + entity_id: input_select.nursery_scenes + state: Dimmed + sequence: + - service: scene.turn_on + data: {} + target: + entity_id: scene.nursery_dimmed + - conditions: + - condition: state + entity_id: input_select.nursery_scenes + state: Nightlight + sequence: + - service: scene.turn_on + data: {} + target: + entity_id: scene.nursery_nightlight + - conditions: + - condition: state + entity_id: input_select.nursery_scenes + state: Adaptive + sequence: + - service: adaptive_lighting.apply + data: + entity_id: switch.adaptive_lighting_nursery + default: [] + mode: single diff --git a/input_select.yaml b/input_select.yaml index 14efdb8..d385b0b 100644 --- a/input_select.yaml +++ b/input_select.yaml @@ -42,3 +42,12 @@ kallen_bedroom_scenes: - Nightlight initial: Adaptive icon: mdi:bunk-bed +nursery_scenes: + name: Nursery Scenes + options: + - Adaptive + - Bright + - Dimmed + - Nightlight + initial: Adaptive + icon: hue:room-nursery