Changed night-lighting to an "if" so welcome home runs either way
This commit is contained in:
@ -311,36 +311,38 @@ script:
|
|||||||
- dining_room
|
- dining_room
|
||||||
- living_room
|
- living_room
|
||||||
data: {}
|
data: {}
|
||||||
- condition: sun
|
- if:
|
||||||
after: sunset
|
- condition: sun
|
||||||
after_offset: -00:30
|
after: sunset
|
||||||
- service: light.turn_on
|
after_offset: -00:30
|
||||||
data: {}
|
then:
|
||||||
target:
|
- service: light.turn_on
|
||||||
area_id:
|
data: {}
|
||||||
- living_room
|
target:
|
||||||
- dining_room
|
area_id:
|
||||||
- mud_room
|
- living_room
|
||||||
- front_porch
|
- dining_room
|
||||||
- delay:
|
- mud_room
|
||||||
hours: 0
|
- front_porch
|
||||||
minutes: 0
|
- delay:
|
||||||
seconds: 5
|
hours: 0
|
||||||
milliseconds: 0
|
minutes: 0
|
||||||
- service: input_select.select_option
|
seconds: 5
|
||||||
target:
|
milliseconds: 0
|
||||||
entity_id:
|
- service: input_select.select_option
|
||||||
- input_select.living_room_scenes
|
target:
|
||||||
- input_select.tina_lamp_scenes
|
entity_id:
|
||||||
- input_select.mud_room_scenes
|
- input_select.living_room_scenes
|
||||||
- input_select.front_porch_scenes
|
- input_select.tina_lamp_scenes
|
||||||
data:
|
- input_select.mud_room_scenes
|
||||||
option: Adaptive
|
- input_select.front_porch_scenes
|
||||||
- service: input_select.select_option
|
data:
|
||||||
target:
|
option: Adaptive
|
||||||
entity_id: input_select.dining_room_lamp_scenes
|
- service: input_select.select_option
|
||||||
data:
|
target:
|
||||||
option: Full
|
entity_id: input_select.dining_room_lamp_scenes
|
||||||
|
data:
|
||||||
|
option: Full
|
||||||
- service: script.welcome_home
|
- service: script.welcome_home
|
||||||
mode: single
|
mode: single
|
||||||
icon: mdi:home-account
|
icon: mdi:home-account
|
Reference in New Issue
Block a user