1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-03 10:32:21 +01:00

[voice_assistant] Fix wakeword string being reset while referenced (#10945)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Abílio Costa
2025-09-30 03:29:16 +01:00
committed by Jesse Hills
parent 158a59aa83
commit 29658b79bc

View File

@@ -242,7 +242,6 @@ void VoiceAssistant::loop() {
msg.flags = flags;
msg.audio_settings = audio_settings;
msg.set_wake_word_phrase(StringRef(this->wake_word_));
this->wake_word_ = "";
// Reset media player state tracking
#ifdef USE_MEDIA_PLAYER