diff --git a/packages/kallen.yaml b/packages/kallen.yaml index 038a5ed..0cce7f8 100644 --- a/packages/kallen.yaml +++ b/packages/kallen.yaml @@ -195,11 +195,20 @@ script: - service: input_boolean.turn_off target: entity_id: input_boolean.white_noise_kallen_bedroom - - if: - - condition: state - entity_id: input_boolean.kallen_school_today - state: 'on' - then: - - service: light.turn_on - target: - entity_id: light.kallen_bedroom_lights \ No newline at end of file + - choose: + - conditions: + - condition: state + entity_id: input_boolean.kallen_school_today + state: 'on' + sequence: + - service: light.turn_on + target: + 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 \ No newline at end of file