Created scene selection dropdown for master bedroom

This commit is contained in:
2022-02-10 17:17:33 -05:00
parent 61161053db
commit 26f71f642d
2 changed files with 100 additions and 0 deletions

View File

@ -610,3 +610,92 @@
entity_id: switch.adaptive_lighting_basement_studio
default: []
mode: single
- id: '1644531090692'
alias: Master Bedroom Scenes
description: ''
trigger:
- platform: state
entity_id: input_select.master_bedroom_scenes
condition: []
action:
- choose:
- conditions:
- condition: state
entity_id: input_select.master_bedroom_scenes
state: Bright
sequence:
- service: switch.turn_off
data: {}
target:
entity_id: switch.adaptive_lighting_sleep_mode_master_bedroom
- service: scene.turn_on
data: {}
target:
entity_id: scene.master_bedroom_bright
- conditions:
- condition: state
entity_id: input_select.master_bedroom_scenes
state: Dimmed
sequence:
- service: scene.turn_on
data: {}
target:
entity_id: scene.master_bedroom_dimmed
- conditions:
- condition: state
entity_id: input_select.master_bedroom_scenes
state: Nightlight
sequence:
- service: switch.turn_on
data: {}
target:
entity_id: switch.adaptive_lighting_sleep_mode_master_bedroom
- service: scene.turn_on
data: {}
target:
entity_id: scene.master_bedroom_nightlight
- conditions:
- condition: state
entity_id: input_select.master_bedroom_scenes
state: Front Nightlight
sequence:
- service: switch.turn_on
data: {}
target:
entity_id: switch.adaptive_lighting_sleep_mode_master_bedroom
- service: scene.turn_on
data: {}
target:
entity_id: scene.master_bedroom_front_nightlight
- conditions:
- condition: state
entity_id: input_select.master_bedroom_scenes
state: Side Nightlight
sequence:
- service: switch.turn_on
data: {}
target:
entity_id: switch.adaptive_lighting_sleep_mode_master_bedroom
- service: scene.turn_on
data: {}
target:
entity_id: scene.master_bedroom_side_nightlight
- conditions:
- condition: state
entity_id: input_select.master_bedroom_scenes
state: Adaptive
sequence:
- service: light.turn_on
data: {}
target:
entity_id:
- light.master_bedroom_front
- light.master_bedroom_side
- service: switch.turn_off
data: {}
target:
entity_id: switch.adaptive_lighting_sleep_mode_master_bedroom
- service: adaptive_lighting.apply
data: {}
default: []
mode: single

View File

@ -65,3 +65,14 @@ basement_studio_scenes:
- Pink
initial: Adaptive
icon: mdi:twitch
master_bedroom_scenes:
name: Master Bedroom Scenes
options:
- Adaptive
- Bright
- Dimmed
- Nightlight
- Front Nightlight
- Side Nightlight
initial: Adaptive
icon: mdi:bed