Some tweaks for nighttime lighting automations
This commit is contained in:
@ -355,6 +355,7 @@
|
|||||||
target:
|
target:
|
||||||
area_id:
|
area_id:
|
||||||
- kallen_bedroom
|
- kallen_bedroom
|
||||||
|
- upstairs_bathroom
|
||||||
- upstairs_hallway
|
- upstairs_hallway
|
||||||
- service: script.speech_engine
|
- service: script.speech_engine
|
||||||
data:
|
data:
|
||||||
@ -380,6 +381,7 @@
|
|||||||
target:
|
target:
|
||||||
area_id:
|
area_id:
|
||||||
- kallen_bedroom
|
- kallen_bedroom
|
||||||
|
- upstairs_bathroom
|
||||||
- upstairs_hallway
|
- upstairs_hallway
|
||||||
- service: script.speech_engine
|
- service: script.speech_engine
|
||||||
data:
|
data:
|
||||||
|
29
scripts.yaml
29
scripts.yaml
@ -21,15 +21,25 @@ stop_netflix:
|
|||||||
give_me_darkness:
|
give_me_darkness:
|
||||||
alias: Give Me Darkness
|
alias: Give Me Darkness
|
||||||
sequence:
|
sequence:
|
||||||
|
- service: light.turn_on
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
area_id:
|
||||||
|
- dining_room
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
- switch.adaptive_lighting_sleep_mode_upstairs_hallway
|
|
||||||
- switch.adaptive_lighting_sleep_mode_mud_room
|
|
||||||
- switch.adaptive_lighting_sleep_mode_dining_room
|
- switch.adaptive_lighting_sleep_mode_dining_room
|
||||||
- switch.adaptive_lighting_sleep_mode_tina_lamp
|
|
||||||
- switch.adaptive_lighting_sleep_mode_upstairs_bathroom
|
|
||||||
data: {}
|
data: {}
|
||||||
|
- service: input_select.select_option
|
||||||
|
target:
|
||||||
|
entity_id:
|
||||||
|
- input_select.upstairs_hallway_scenes
|
||||||
|
- input_select.mud_room_scenes
|
||||||
|
- input_select.upstairs_bathroom_scenes
|
||||||
|
- input_select.tina_lamp_scenes
|
||||||
|
data:
|
||||||
|
option: Nightlight
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
target:
|
target:
|
||||||
area_id:
|
area_id:
|
||||||
@ -39,17 +49,6 @@ give_me_darkness:
|
|||||||
- nursery
|
- nursery
|
||||||
- downstairs_bathroom
|
- downstairs_bathroom
|
||||||
data: {}
|
data: {}
|
||||||
- service: light.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
area_id:
|
|
||||||
- upstairs_bathroom
|
|
||||||
- dining_room
|
|
||||||
- service: input_select.select_option
|
|
||||||
data:
|
|
||||||
option: Nightlight
|
|
||||||
target:
|
|
||||||
entity_id: input_select.upstairs_bathroom_scenes
|
|
||||||
- service: script.security_arm_home
|
- service: script.security_arm_home
|
||||||
mode: single
|
mode: single
|
||||||
icon: mdi:weather-night
|
icon: mdi:weather-night
|
||||||
|
Reference in New Issue
Block a user