From 7417fb28b00a0ef789ab4767ae3d8b7363d1b534 Mon Sep 17 00:00:00 2001 From: Kevin Ahrendt Date: Wed, 16 Oct 2024 15:42:22 -0400 Subject: [PATCH] add stop wake word model --- home-assistant-voice.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home-assistant-voice.yaml b/home-assistant-voice.yaml index c71c1920..339000c2 100644 --- a/home-assistant-voice.yaml +++ b/home-assistant-voice.yaml @@ -219,6 +219,8 @@ switch: internal: true restore_mode: ALWAYS_OFF on_turn_off: + # Disable stop wake word + - lambda: id(stop).disable(); # Stop any current annoucement (ie: stop the timer ring mid playback) - if: condition: @@ -241,6 +243,8 @@ switch: - nabu.set_ducking: decibel_reduction: 20 duration: 0.0s + # Enable stop wake word + - lambda: id(stop).enable(); # Ring timer - script.execute: ring_timer # Refresh LED @@ -1457,6 +1461,9 @@ micro_wake_word: id: hey_jarvis - model: hey_mycroft id: hey_mycroft + - model: https://github.com/kahrendt/microWakeWord/releases/download/stop/stop.json + id: stop + internal: true vad: microphone: comm_mic on_wake_word_detected: