Skip to content

Commit

Permalink
[voice-assistant] Dont error on no_wake_word timeout error with s…
Browse files Browse the repository at this point in the history
…treaming wake word (esphome#7435)
  • Loading branch information
jesserockz authored Sep 12, 2024
1 parent af1a909 commit cb7b4d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esphome/components/voice_assistant/voice_assistant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ void VoiceAssistant::on_event(const api::VoiceAssistantEventResponse &msg) {
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.
return;
} else if (code == "wake-provider-missing" || code == "wake-engine-missing") {
Expand Down

0 comments on commit cb7b4d9

Please sign in to comment.