From c85021e033cc3ae6592d27d908d17e26ad94d8ae Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sun, 10 Jul 2022 11:59:02 +0200 Subject: [PATCH] Trying to fix vacuum automation not triggering alarm --- configuration/automations/vacuum.yaml | 2 ++ scripts/70.vacuum.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configuration/automations/vacuum.yaml b/configuration/automations/vacuum.yaml index f385b0d..c35a1de 100644 --- a/configuration/automations/vacuum.yaml +++ b/configuration/automations/vacuum.yaml @@ -41,6 +41,8 @@ entity_id: alarm_control_panel.home_alarm state: 'armed_home' sequence: + - service: alarm_control_panel.alarm_disarm + entity_id: alarm_control_panel.home_alarm - service: alarm_control_panel.alarm_arm_away entity_id: alarm_control_panel.home_alarm diff --git a/scripts/70.vacuum.yaml b/scripts/70.vacuum.yaml index cdda95a..9e93b67 100644 --- a/scripts/70.vacuum.yaml +++ b/scripts/70.vacuum.yaml @@ -18,6 +18,8 @@ vacuum_today: entity_id: alarm_control_panel.home_alarm state: 'arming' sequence: + - service: alarm_control_panel.alarm_disarm + entity_id: alarm_control_panel.home_alarm - service: alarm_control_panel.alarm_arm_home entity_id: alarm_control_panel.home_alarm - service: vacuum.start