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