diff --git a/configuration/automations/calendar.yaml b/configuration/automations/calendar.yaml index f7312ba..d934bd2 100644 --- a/configuration/automations/calendar.yaml +++ b/configuration/automations/calendar.yaml @@ -7,10 +7,16 @@ entity_id: calendar.automations_wakeup offset: '-16:00:0' action: - - wait_for_trigger: - - platform: numeric_state - entity_id: sensor.coffee_machine_electrical_measurement - below: '4' + - choose: + - conditions: + - platform: numeric_state + entity_id: sensor.coffee_machine_electrical_measurement + below: 4 + sequence: + - wait_for_trigger: + - platform: numeric_state + entity_id: sensor.coffee_machine_electrical_measurement + below: '4' - service: switch.turn_off target: entity_id: switch.coffee_machine_on_off