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:
parent
556f8564c4
commit
aca7e16ed0
@ -253,6 +253,17 @@ script:
|
|||||||
}
|
}
|
||||||
|
|
||||||
interval:
|
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
|
# Regular occupancy state reporting to HASS every 30s
|
||||||
- interval: 30s
|
- interval: 30s
|
||||||
then:
|
then:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user