Bump gassist-text to 0.0.14 (#148312)

This commit is contained in:
tronikos 2025-07-07 04:10:50 -07:00 committed by GitHub
parent 0c783e87d1
commit 15c9ddea78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View File

@ -80,10 +80,10 @@ async def async_send_text_commands(
credentials = Credentials(session.token[CONF_ACCESS_TOKEN]) # type: ignore[no-untyped-call]
language_code = entry.options.get(CONF_LANGUAGE_CODE, default_language_code(hass))
command_response_list = []
with TextAssistant(
credentials, language_code, audio_out=bool(media_players)
) as assistant:
command_response_list = []
for command in commands:
try:
resp = await hass.async_add_executor_job(assistant.assist, command)
@ -117,7 +117,7 @@ async def async_send_text_commands(
blocking=True,
)
command_response_list.append(CommandResponse(text_response))
return command_response_list
return command_response_list
def default_language_code(hass: HomeAssistant) -> str:

View File

@ -7,6 +7,6 @@
"documentation": "https://www.home-assistant.io/integrations/google_assistant_sdk",
"integration_type": "service",
"iot_class": "cloud_polling",
"requirements": ["gassist-text==0.0.12"],
"requirements": ["gassist-text==0.0.14"],
"single_config_entry": true
}

2
requirements_all.txt generated
View File

@ -989,7 +989,7 @@ gTTS==2.5.3
gardena-bluetooth==1.6.0
# homeassistant.components.google_assistant_sdk
gassist-text==0.0.12
gassist-text==0.0.14
# homeassistant.components.google
gcal-sync==7.1.0

View File

@ -859,7 +859,7 @@ gTTS==2.5.3
gardena-bluetooth==1.6.0
# homeassistant.components.google_assistant_sdk
gassist-text==0.0.12
gassist-text==0.0.14
# homeassistant.components.google
gcal-sync==7.1.0