mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 00:18:11 +01:00
Copy active wake words to message (#7481)
This commit is contained in:
parent
6fde5e0fed
commit
66f9597d9e
1 changed files with 3 additions and 0 deletions
|
@ -1242,6 +1242,9 @@ VoiceAssistantConfigurationResponse APIConnection::voice_assistant_get_configura
|
||||||
}
|
}
|
||||||
resp.available_wake_words.push_back(std::move(resp_wake_word));
|
resp.available_wake_words.push_back(std::move(resp_wake_word));
|
||||||
}
|
}
|
||||||
|
for (auto &wake_word_id : config.active_wake_words) {
|
||||||
|
resp.active_wake_words.push_back(wake_word_id);
|
||||||
|
}
|
||||||
resp.max_active_wake_words = config.max_active_wake_words;
|
resp.max_active_wake_words = config.max_active_wake_words;
|
||||||
}
|
}
|
||||||
return resp;
|
return resp;
|
||||||
|
|
Loading…
Reference in a new issue