Tweak how night mode is handled when K wakes up on a school day
Missed a condition
This commit is contained in:
@ -74,6 +74,14 @@ automation:
|
||||
- condition: trigger
|
||||
id: wakeup
|
||||
sequence:
|
||||
- if:
|
||||
- condition: state
|
||||
entity_id: input_booolean.night_mode
|
||||
state: 'on'
|
||||
then:
|
||||
- service: input_boolean.turn_off
|
||||
target:
|
||||
entity_id: input_boolean.night_mode
|
||||
- service: input_boolean.turn_off
|
||||
target:
|
||||
entity_id: input_boolean.kallen_sleeping
|
||||
@ -251,7 +259,9 @@ script:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.kallen_bedroom_lights
|
||||
entity_id:
|
||||
- light.kallen_bedroom_lights
|
||||
- light.living_room_lights
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.kallen_school_today
|
||||
|
Reference in New Issue
Block a user