Update K's wakeup script
This commit is contained in:
@ -195,11 +195,20 @@ script:
|
|||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: input_boolean.white_noise_kallen_bedroom
|
entity_id: input_boolean.white_noise_kallen_bedroom
|
||||||
- if:
|
- choose:
|
||||||
|
- conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.kallen_school_today
|
entity_id: input_boolean.kallen_school_today
|
||||||
state: 'on'
|
state: 'on'
|
||||||
then:
|
sequence:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id: light.kallen_bedroom_lights
|
entity_id: light.kallen_bedroom_lights
|
||||||
|
- conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.kallen_school_today
|
||||||
|
state: 'off'
|
||||||
|
sequence:
|
||||||
|
- service: input_boolean.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.kallen_awake
|
Reference in New Issue
Block a user