mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 00:18:11 +01:00
[voice-assistant] Dont error on `no_wake_word
` timeout error with streaming wake word (#7435)
This commit is contained in:
parent
9ed2ed8177
commit
7f00b5eb65
1 changed files with 1 additions and 1 deletions
|
@ -755,7 +755,7 @@ void VoiceAssistant::on_event(const api::VoiceAssistantEventResponse &msg) {
|
||||||
message = std::move(arg.value);
|
message = std::move(arg.value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (code == "wake-word-timeout" || code == "wake_word_detection_aborted") {
|
if (code == "wake-word-timeout" || code == "wake_word_detection_aborted" || code == "no_wake_word") {
|
||||||
// Don't change state here since either the "tts-end" or "run-end" events will do it.
|
// Don't change state here since either the "tts-end" or "run-end" events will do it.
|
||||||
return;
|
return;
|
||||||
} else if (code == "wake-provider-missing" || code == "wake-engine-missing") {
|
} else if (code == "wake-provider-missing" || code == "wake-engine-missing") {
|
||||||
|
|
Loading…
Reference in a new issue