Improve resetting of lighting during the night, close #93
This commit is contained in:
@ -1715,6 +1715,93 @@ script:
|
||||
data:
|
||||
value: Adaptive
|
||||
|
||||
goodnight_in_basement:
|
||||
alias: 'Goodnight in Basement'
|
||||
sequence:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
area_id:
|
||||
- basement_studio
|
||||
- furnace_room
|
||||
- service: fan.turn_off
|
||||
target:
|
||||
entity_id: fan.basement_fan
|
||||
|
||||
goodnight_on_first_floor:
|
||||
alias: 'Goodnight on First Floor'
|
||||
sequence:
|
||||
- if:
|
||||
- condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
state: 'on'
|
||||
then:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
area_id:
|
||||
- dining_room
|
||||
- downstairs_bathroom
|
||||
- living_room
|
||||
- tina_desk
|
||||
- service: input_select.select_option
|
||||
target:
|
||||
entity_id: input_select.mud_room_scenes
|
||||
data:
|
||||
option: Nightlight
|
||||
else:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
area_id:
|
||||
- dining_room
|
||||
- downstairs_bathroom
|
||||
- living_room
|
||||
- mud_room
|
||||
- tina_desk
|
||||
|
||||
goodnight_on_second_floor:
|
||||
alias: 'Goodnight on Second Floor'
|
||||
sequence:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
area_id:
|
||||
- emma_bedroom
|
||||
- kallen_bedroom
|
||||
- master_bedroom
|
||||
- master_bedroom_closet
|
||||
- if:
|
||||
- condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
state: 'on'
|
||||
then:
|
||||
- service: input_select.select_option
|
||||
target:
|
||||
entity_id: input_select.upstairs_hallway_scenes
|
||||
data:
|
||||
option: Nightlight
|
||||
else:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.hallway_overhead
|
||||
- if:
|
||||
- condition: state
|
||||
entity_id: input_boolean.kallen_overnight
|
||||
state: 'on'
|
||||
then:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
area_id: upstairs_bathroom
|
||||
else:
|
||||
- service: input_select.select_option
|
||||
target:
|
||||
entity_id: input_select.upstairs_bathroom_scenes
|
||||
data:
|
||||
option: Single Nightlight
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.stairwell_led_strip
|
||||
data:
|
||||
color_temp_kelvin: 2000
|
||||
brightness: 50
|
||||
|
||||
morning_scene:
|
||||
alias: 'Morning Scene'
|
||||
sequence:
|
||||
|
Reference in New Issue
Block a user