Make it easier to activate nightlight in master bedroom

This commit is contained in:
2025-02-27 00:50:53 -05:00
parent 08b5c7b764
commit 8f707c71bb

View File

@ -1149,10 +1149,23 @@
entity_id: switch.adaptive_lighting_master_bedroom
action: switch.turn_off
brightness_down_short_action:
- data: {}
target:
entity_id: switch.adaptive_lighting_master_bedroom
action: switch.turn_off
- if:
- condition: state
entity_id: light.master_bedroom_lights
state: 'off'
then:
- action: input_select.select_option
metadata: {}
data:
option: Nightlight
target:
entity_id: input_select.master_bedroom_scenes
else:
- data: {}
target:
entity_id: switch.adaptive_lighting_master_bedroom
action: switch.turn_off
alias: Activate nightlight if lights are off, otherwise act normal
brightness_down_long_action:
- data: {}
target: