Tweak how night mode is handled when K wakes up on a school day

Missed a condition
This commit is contained in:
2023-03-29 16:28:10 -04:00
parent 36a59f54c5
commit 0b6c1246a6
2 changed files with 86 additions and 47 deletions

View File

@ -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