Add regular MWW state check

Ensures that if the micro_wake_word component stops, it will be
automatically restarted on a regular interval.
This commit is contained in:
Joshua Boniface 2025-05-28 23:05:05 -04:00
parent 556f8564c4
commit aca7e16ed0

View File

@ -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: