From aca7e16ed03931b0b41a2f02abde3b1cf549ad44 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 28 May 2025 23:05:05 -0400 Subject: [PATCH] Add regular MWW state check Ensures that if the micro_wake_word component stops, it will be automatically restarted on a regular interval. --- supersensor.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/supersensor.yaml b/supersensor.yaml index a42b1bd..2066981 100644 --- a/supersensor.yaml +++ b/supersensor.yaml @@ -253,6 +253,17 @@ script: } interval: + # Regular MWW state check every 30s + - interval: 30s + then: + - if: + condition: + - switch.is_on: enable_voice_support + - not: + micro_wake_word.is_running + then: + - micro_wake_word.start: + # Regular occupancy state reporting to HASS every 30s - interval: 30s then: