Came up with a solution for double-tap to return lights to adaptive

This commit is contained in:
2022-02-16 19:39:44 -05:00
parent 304ec8651e
commit 4e64549239
2 changed files with 91 additions and 7 deletions

View File

@ -299,8 +299,19 @@
- service: adaptive_lighting.apply - service: adaptive_lighting.apply
data: data:
entity_id: switch.adaptive_lighting_living_room entity_id: switch.adaptive_lighting_living_room
- conditions:
- condition: state
entity_id: input_select.living_room_scenes
state: Reset
sequence:
- service: input_select.select_option
data:
option: Adaptive
target:
entity_id: input_select.living_room_scenes
default: [] default: []
mode: single mode: queued
max: 2
- id: '1644520666008' - id: '1644520666008'
alias: Mud Room Scenes alias: Mud Room Scenes
description: '' description: ''
@ -345,8 +356,19 @@
- service: adaptive_lighting.apply - service: adaptive_lighting.apply
data: data:
entity_id: switch.adaptive_lighting_mud_room entity_id: switch.adaptive_lighting_mud_room
- conditions:
- condition: state
entity_id: input_select.mud_room_scenes
state: Reset
sequence:
- service: input_select.select_option
data:
option: Adaptive
target:
entity_id: input_select.mud_room_scenes
default: [] default: []
mode: single mode: queued
max: 2
- id: '1644528841392' - id: '1644528841392'
alias: Dining Room Lamp Modes alias: Dining Room Lamp Modes
description: '' description: ''
@ -429,8 +451,19 @@
- service: adaptive_lighting.apply - service: adaptive_lighting.apply
data: data:
entity_id: switch.adaptive_lighting_upstairs_hallway entity_id: switch.adaptive_lighting_upstairs_hallway
- conditions:
- condition: state
entity_id: input_select.upstairs_hallway_scenes
state: Reset
sequence:
- service: input_select.select_option
data:
option: Adaptive
target:
entity_id: input_select.upstairs_hallway_scenes
default: [] default: []
mode: single mode: queued
max: 2
- id: '1644529426060' - id: '1644529426060'
alias: Kallen Bedroom Scenes alias: Kallen Bedroom Scenes
description: '' description: ''
@ -475,8 +508,19 @@
- service: adaptive_lighting.apply - service: adaptive_lighting.apply
data: data:
entity_id: switch.adaptive_lighting_kallen_bedroom entity_id: switch.adaptive_lighting_kallen_bedroom
- conditions:
- condition: state
entity_id: input_select.kallen_bedroom_scenes
state: Reset
sequence:
- service: input_select.select_option
data:
option: Adaptive
target:
entity_id: input_select.kallen_bedroom_scenes
default: [] default: []
mode: single mode: queued
max: 2
- id: '1644529671106' - id: '1644529671106'
alias: Nursery Scenes alias: Nursery Scenes
description: '' description: ''
@ -521,8 +565,19 @@
- service: adaptive_lighting.apply - service: adaptive_lighting.apply
data: data:
entity_id: switch.adaptive_lighting_nursery entity_id: switch.adaptive_lighting_nursery
- conditions:
- condition: state
entity_id: input_select.nursery_scenes
state: Reset
sequence:
- service: input_select.select_option
data:
option: Adaptive
target:
entity_id: input_select.nursery_scenes
default: [] default: []
mode: single mode: queued
max: 2
- id: '1644530206434' - id: '1644530206434'
alias: Basement Studio Scenes alias: Basement Studio Scenes
description: '' description: ''
@ -612,8 +667,19 @@
- service: adaptive_lighting.apply - service: adaptive_lighting.apply
data: data:
entity_id: switch.adaptive_lighting_basement_studio entity_id: switch.adaptive_lighting_basement_studio
- conditions:
- condition: state
entity_id: input_select.basement_studio_scenes
state: Reset
sequence:
- service: input_select.select_option
data:
option: Adaptive
target:
entity_id: input_select.basement_studio_scenes
default: [] default: []
mode: single mode: queued
max: 2
- id: '1644531090692' - id: '1644531090692'
alias: Master Bedroom Scenes alias: Master Bedroom Scenes
description: '' description: ''
@ -702,8 +768,19 @@
- service: adaptive_lighting.apply - service: adaptive_lighting.apply
data: data:
entity_id: switch.adaptive_lighting_master_bedroom entity_id: switch.adaptive_lighting_master_bedroom
- conditions:
- condition: state
entity_id: input_select.master_bedroom_scenes
state: Reset
sequence:
- service: input_select.select_option
data:
option: Adaptive
target:
entity_id: input_select.master_bedroom_scenes
default: [] default: []
mode: single mode: queued
max: 2
- id: '1644532216008' - id: '1644532216008'
alias: Sunset Lights On - Cloudy alias: Sunset Lights On - Cloudy
description: '' description: ''

View File

@ -5,6 +5,7 @@ living_room_scenes:
- Bright - Bright
- Dimmed - Dimmed
- Nightlight - Nightlight
- Reset
initial: Adaptive initial: Adaptive
icon: hue:room-living icon: hue:room-living
mud_room_scenes: mud_room_scenes:
@ -14,6 +15,7 @@ mud_room_scenes:
- Bright - Bright
- Dimmed - Dimmed
- Nightlight - Nightlight
- Reset
initial: Adaptive initial: Adaptive
icon: hue:room-other icon: hue:room-other
dining_room_lamp_modes: dining_room_lamp_modes:
@ -31,6 +33,7 @@ upstairs_hallway_scenes:
- Bright - Bright
- Dimmed - Dimmed
- Nightlight - Nightlight
- Reset
initial: Adaptive initial: Adaptive
icon: hue:ceiling-round icon: hue:ceiling-round
kallen_bedroom_scenes: kallen_bedroom_scenes:
@ -40,6 +43,7 @@ kallen_bedroom_scenes:
- Bright - Bright
- Dimmed - Dimmed
- Nightlight - Nightlight
- Reset
initial: Adaptive initial: Adaptive
icon: mdi:bunk-bed icon: mdi:bunk-bed
nursery_scenes: nursery_scenes:
@ -49,6 +53,7 @@ nursery_scenes:
- Bright - Bright
- Dimmed - Dimmed
- Nightlight - Nightlight
- Reset
initial: Adaptive initial: Adaptive
icon: hue:room-nursery icon: hue:room-nursery
basement_studio_scenes: basement_studio_scenes:
@ -63,6 +68,7 @@ basement_studio_scenes:
- Relax - Relax
- Purple - Purple
- Pink - Pink
- Reset
initial: Adaptive initial: Adaptive
icon: mdi:twitch icon: mdi:twitch
master_bedroom_scenes: master_bedroom_scenes:
@ -74,5 +80,6 @@ master_bedroom_scenes:
- Nightlight - Nightlight
- Front Nightlight - Front Nightlight
- Side Nightlight - Side Nightlight
- Reset
initial: Adaptive initial: Adaptive
icon: mdi:bed icon: mdi:bed