Updated various scripts to handle new dining room lamp
This commit is contained in:
35
scripts.yaml
35
scripts.yaml
@ -4,6 +4,9 @@ start_netflix:
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.adaptive_lighting_sleep_mode_living_room
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.dining_room_lamp
|
||||
- service: media_player.select_source
|
||||
target:
|
||||
entity_id: media_player.living_room_firetv
|
||||
@ -27,6 +30,9 @@ stop_netflix:
|
||||
give_me_darkness:
|
||||
alias: Give Me Darkness
|
||||
sequence:
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.dining_room_lamp
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id:
|
||||
@ -48,6 +54,9 @@ start_youtube:
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.adaptive_lighting_sleep_mode_living_room
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.dining_room_lamp
|
||||
- service: media_player.select_source
|
||||
target:
|
||||
entity_id: media_player.living_room_firetv
|
||||
@ -74,6 +83,9 @@ start_twitch:
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.adaptive_lighting_sleep_mode_living_room
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.dining_room_lamp
|
||||
- service: media_player.select_source
|
||||
target:
|
||||
entity_id: media_player.living_room_firetv
|
||||
@ -121,7 +133,6 @@ goodnight:
|
||||
target:
|
||||
entity_id:
|
||||
- scene.upstairs_hallway_nightlight
|
||||
- scene.mud_room_nightlight
|
||||
- service: light.turn_off
|
||||
target:
|
||||
device_id:
|
||||
@ -136,7 +147,9 @@ goodnight:
|
||||
- nursery
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
area_id: basement_studio
|
||||
area_id:
|
||||
- basement_studio
|
||||
entity_id: switch.dining_room_lamp
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id:
|
||||
@ -173,6 +186,9 @@ family_is_away:
|
||||
- mud_room
|
||||
- nursery
|
||||
- upstairs_hallway
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.dining_room_lamp
|
||||
- service: alarm_control_panel.alarm_arm_away
|
||||
target:
|
||||
entity_id: alarm_control_panel.alexa_guard_9ee3b
|
||||
@ -195,12 +211,6 @@ family_is_home:
|
||||
- condition: sun
|
||||
after: sunset
|
||||
after_offset: -00:30
|
||||
- service: light.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id:
|
||||
- light.living_room_lights
|
||||
- light.mud_room_overhead
|
||||
- service: light.turn_off
|
||||
target:
|
||||
area_id:
|
||||
@ -210,6 +220,15 @@ family_is_home:
|
||||
- master_bedroom
|
||||
- upstairs_hallway
|
||||
- basement_studio
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.dining_room_lamp
|
||||
- service: light.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id:
|
||||
- light.living_room_lights
|
||||
- light.mud_room_overhead
|
||||
mode: single
|
||||
icon: mdi:home-account
|
||||
reading_timer_cancel:
|
||||
|
Reference in New Issue
Block a user