1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 15:12:06 +00:00
This commit is contained in:
J. Nick Koston
2025-10-08 08:06:38 -10:00
parent d5ee5c7861
commit f1fddc058e

View File

@@ -171,9 +171,6 @@ class VoiceAssistant : public Component {
void on_timer_event(const api::VoiceAssistantTimerEventResponse &msg);
void on_announce(const api::VoiceAssistantAnnounceRequest &msg);
void on_set_configuration(const std::vector<std::string> &active_wake_words);
// Returns cached configuration reference. Only rebuilds when config_needs_rebuild_ is true
// to prevent use-after-free with StringRef and avoid wasteful rebuilding.
const Configuration &get_configuration();
bool is_running() const { return this->state_ != State::IDLE; }