diff --git a/automations.yaml b/automations.yaml index f5deaaa..c687d36 100644 --- a/automations.yaml +++ b/automations.yaml @@ -381,3 +381,49 @@ entity_id: scene.dining_room_lamp_wall default: [] mode: single +- id: '1644529151295' + alias: Upstairs Hallway Scenes + description: '' + trigger: + - platform: state + entity_id: input_select.upstairs_hallway_scenes + condition: [] + action: + - choose: + - conditions: + - condition: state + entity_id: input_select.upstairs_hallway_scenes + state: Bright + sequence: + - service: scene.turn_on + data: {} + target: + entity_id: scene.upstairs_hallway_bright + - conditions: + - condition: state + entity_id: input_select.upstairs_hallway_scenes + state: Dimmed + sequence: + - service: scene.turn_on + data: {} + target: + entity_id: scene.upstairs_hallway_dimmed + - conditions: + - condition: state + entity_id: input_select.upstairs_hallway_scenes + state: Nightlight + sequence: + - service: scene.turn_on + data: {} + target: + entity_id: scene.upstairs_hallway_nightlight + - conditions: + - condition: state + entity_id: input_select.upstairs_hallway_scenes + state: Adaptive + sequence: + - service: adaptive_lighting.apply + data: + entity_id: switch.adaptive_lighting_upstairs_hallway + default: [] + mode: single diff --git a/input_select.yaml b/input_select.yaml index 1947807..c606a64 100644 --- a/input_select.yaml +++ b/input_select.yaml @@ -24,3 +24,12 @@ dining_room_lamp_modes: - 2 Bulb - Wall initial: All Bulbs icon: mdi:floor-lamp-dual +upstairs_hallway_scenes: + name: Upstairs Hallway Scenes + options: + - Adaptive + - Bright + - Dimmed + - Nightlight + initial: Adaptive + icon: hue:ceiling-round