diff --git a/automations.yaml b/automations.yaml index 5f8579b..1f632c9 100644 --- a/automations.yaml +++ b/automations.yaml @@ -251,3 +251,49 @@ - service: device_tracker.icloud3_restart data: {} mode: single +- id: '1644520312792' + alias: Living Room Scenes + description: '' + trigger: + - platform: state + entity_id: input_select.living_room_scenes + condition: [] + action: + - choose: + - conditions: + - condition: state + entity_id: input_select.living_room_scenes + state: Bright + sequence: + - service: scene.turn_on + data: {} + target: + entity_id: scene.living_room_bright + - conditions: + - condition: state + entity_id: input_select.living_room_scenes + state: Dimmed + sequence: + - service: scene.turn_on + data: {} + target: + entity_id: scene.living_room_dimmed + - conditions: + - condition: state + entity_id: input_select.living_room_scenes + state: Nightlight + sequence: + - service: scene.turn_on + data: {} + target: + entity_id: scene.living_room_nightlight + - conditions: + - condition: state + entity_id: input_select.living_room_scenes + state: Adaptive + sequence: + - service: adaptive_lighting.apply + data: + entity_id: switch.adaptive_lighting_living_room + default: [] + mode: single diff --git a/input_select.yaml b/input_select.yaml index e69de29..b26dece 100644 --- a/input_select.yaml +++ b/input_select.yaml @@ -0,0 +1,9 @@ +living_room_scenes: + name: Living Room Scenes + options: + - Adaptive + - Bright + - Dimmed + - Nightlight + initial: Adaptive + icon: hue:room-living