mirror of
https://github.com/esphome/esphome.git
synced 2025-10-16 07:27:50 +02: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:
parent
300f1de11c
commit
7703cabb7b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user