Call on_error if no api client connected that handles voice (#4709)

This commit is contained in:
Jesse Hills
2023-04-20 08:56:37 +12:00
committed by GitHub
parent 3a587ea0d4
commit 4cea74ef3b
3 changed files with 9 additions and 4 deletions

View File

@@ -96,7 +96,7 @@ class APIServer : public Component, public Controller {
#endif
#ifdef USE_VOICE_ASSISTANT
void start_voice_assistant();
bool start_voice_assistant();
void stop_voice_assistant();
#endif