Leave dining room lamp alone for Give Me Darkness
This commit is contained in:
@ -1416,13 +1416,6 @@ script:
|
|||||||
entity_id: input_boolean.give_me_darkness
|
entity_id: input_boolean.give_me_darkness
|
||||||
state: 'on'
|
state: 'on'
|
||||||
sequence:
|
sequence:
|
||||||
- service: input_select.select_option
|
|
||||||
target:
|
|
||||||
entity_id:
|
|
||||||
- input_select.mud_room_scenes
|
|
||||||
- input_select.dining_room_lamp_scenes
|
|
||||||
data:
|
|
||||||
option: Nightlight
|
|
||||||
- if:
|
- if:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: person.christina_stork
|
entity_id: person.christina_stork
|
||||||
@ -1452,6 +1445,12 @@ script:
|
|||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
- light.downstairs_bathroom_lights
|
- light.downstairs_bathroom_lights
|
||||||
|
- service: input_select.select_option
|
||||||
|
target:
|
||||||
|
entity_id:
|
||||||
|
- input_select.mud_room_scenes
|
||||||
|
data:
|
||||||
|
option: Nightlight
|
||||||
else:
|
else:
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
target:
|
target:
|
||||||
@ -1466,6 +1465,13 @@ script:
|
|||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
- light.downstairs_bathroom_lights
|
- light.downstairs_bathroom_lights
|
||||||
|
- service: input_select.select_option
|
||||||
|
target:
|
||||||
|
entity_id:
|
||||||
|
- input_select.mud_room_scenes
|
||||||
|
- input_select.dining_room_lamp_scenes
|
||||||
|
data:
|
||||||
|
option: Nightlight
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.guest_mode
|
entity_id: input_boolean.guest_mode
|
||||||
|
Reference in New Issue
Block a user