diff --git a/scripts/70.vacuum.yaml b/scripts/70.vacuum.yaml index 1bba5b5..e13de48 100644 --- a/scripts/70.vacuum.yaml +++ b/scripts/70.vacuum.yaml @@ -95,9 +95,14 @@ vacuum_today: sequence: - choose: - conditions: - - condition: state - entity_id: alarm_control_panel.ha_alarm - state: 'armed_away' + - condition: or + conditions: + - condition: state + entity_id: alarm_control_panel.ha_alarm + state: 'armed_away' + - condition: state + entity_id: alarm_control_panel.ha_alarm + state: 'arming' sequence: - service: alarm_control_panel.alarm_arm_night entity_id: alarm_control_panel.ha_alarm