From a85c4a1ddf46e798b3db15d8afb823b1058ae475 Mon Sep 17 00:00:00 2001 From: tronikos Date: Wed, 25 Jan 2023 08:01:33 -0800 Subject: [PATCH] Bump gassist-text to 0.0.10 (#85782) * Bump gassist-text to 0.0.9 * Bump gassist-text to 0.0.10 * Clarify when it's empty response Co-authored-by: Paulus Schoutsen --- homeassistant/components/google_assistant_sdk/__init__.py | 2 +- homeassistant/components/google_assistant_sdk/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/google_assistant_sdk/__init__.py b/homeassistant/components/google_assistant_sdk/__init__.py index 185e49435ba..257562dc536 100644 --- a/homeassistant/components/google_assistant_sdk/__init__.py +++ b/homeassistant/components/google_assistant_sdk/__init__.py @@ -167,7 +167,7 @@ class GoogleAssistantConversationAgent(conversation.AbstractConversationAgent): self.assistant = TextAssistant(credentials, language_code) resp = self.assistant.assist(user_input.text) - text_response = resp[0] + text_response = resp[0] or "" intent_response = intent.IntentResponse(language=user_input.language) intent_response.async_set_speech(text_response) diff --git a/homeassistant/components/google_assistant_sdk/manifest.json b/homeassistant/components/google_assistant_sdk/manifest.json index 86684242b73..cc1f2b474b9 100644 --- a/homeassistant/components/google_assistant_sdk/manifest.json +++ b/homeassistant/components/google_assistant_sdk/manifest.json @@ -4,7 +4,7 @@ "config_flow": true, "dependencies": ["application_credentials", "http"], "documentation": "https://www.home-assistant.io/integrations/google_assistant_sdk/", - "requirements": ["gassist-text==0.0.8"], + "requirements": ["gassist-text==0.0.10"], "codeowners": ["@tronikos"], "iot_class": "cloud_polling", "integration_type": "service" diff --git a/requirements_all.txt b/requirements_all.txt index 22103602a84..35d527fc839 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -754,7 +754,7 @@ fritzconnection==1.10.3 gTTS==2.2.4 # homeassistant.components.google_assistant_sdk -gassist-text==0.0.8 +gassist-text==0.0.10 # homeassistant.components.google gcal-sync==4.1.2 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index c20c9c7d64d..d9b54c6dd73 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -573,7 +573,7 @@ fritzconnection==1.10.3 gTTS==2.2.4 # homeassistant.components.google_assistant_sdk -gassist-text==0.0.8 +gassist-text==0.0.10 # homeassistant.components.google gcal-sync==4.1.2