Created scene selection dropdown for K's bedroom

This commit is contained in:
2022-02-10 16:44:06 -05:00
parent ea61195dd3
commit 0a1b2eb7e4
2 changed files with 55 additions and 0 deletions

View File

@ -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

View File

@ -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