Updated various scripts to handle new dining room lamp

This commit is contained in:
2022-02-01 20:09:42 -05:00
parent 0738517a73
commit 792cdd0f26

View File

@ -4,6 +4,9 @@ start_netflix:
- service: switch.turn_on - service: switch.turn_on
target: target:
entity_id: switch.adaptive_lighting_sleep_mode_living_room 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 - service: media_player.select_source
target: target:
entity_id: media_player.living_room_firetv entity_id: media_player.living_room_firetv
@ -27,6 +30,9 @@ stop_netflix:
give_me_darkness: give_me_darkness:
alias: Give Me Darkness alias: Give Me Darkness
sequence: sequence:
- service: switch.turn_off
target:
entity_id: switch.dining_room_lamp
- service: switch.turn_on - service: switch.turn_on
target: target:
entity_id: entity_id:
@ -48,6 +54,9 @@ start_youtube:
- service: switch.turn_on - service: switch.turn_on
target: target:
entity_id: switch.adaptive_lighting_sleep_mode_living_room 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 - service: media_player.select_source
target: target:
entity_id: media_player.living_room_firetv entity_id: media_player.living_room_firetv
@ -74,6 +83,9 @@ start_twitch:
- service: switch.turn_on - service: switch.turn_on
target: target:
entity_id: switch.adaptive_lighting_sleep_mode_living_room 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 - service: media_player.select_source
target: target:
entity_id: media_player.living_room_firetv entity_id: media_player.living_room_firetv
@ -121,7 +133,6 @@ goodnight:
target: target:
entity_id: entity_id:
- scene.upstairs_hallway_nightlight - scene.upstairs_hallway_nightlight
- scene.mud_room_nightlight
- service: light.turn_off - service: light.turn_off
target: target:
device_id: device_id:
@ -136,7 +147,9 @@ goodnight:
- nursery - nursery
- service: switch.turn_off - service: switch.turn_off
target: target:
area_id: basement_studio area_id:
- basement_studio
entity_id: switch.dining_room_lamp
- service: switch.turn_on - service: switch.turn_on
target: target:
entity_id: entity_id:
@ -173,6 +186,9 @@ family_is_away:
- mud_room - mud_room
- nursery - nursery
- upstairs_hallway - upstairs_hallway
- service: switch.turn_off
target:
entity_id: switch.dining_room_lamp
- service: alarm_control_panel.alarm_arm_away - service: alarm_control_panel.alarm_arm_away
target: target:
entity_id: alarm_control_panel.alexa_guard_9ee3b entity_id: alarm_control_panel.alexa_guard_9ee3b
@ -195,12 +211,6 @@ family_is_home:
- condition: sun - condition: sun
after: sunset after: sunset
after_offset: -00:30 after_offset: -00:30
- service: light.turn_on
data: {}
target:
entity_id:
- light.living_room_lights
- light.mud_room_overhead
- service: light.turn_off - service: light.turn_off
target: target:
area_id: area_id:
@ -210,6 +220,15 @@ family_is_home:
- master_bedroom - master_bedroom
- upstairs_hallway - upstairs_hallway
- basement_studio - 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 mode: single
icon: mdi:home-account icon: mdi:home-account
reading_timer_cancel: reading_timer_cancel: