home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.02k stars 31.05k forks source link

Unable to send command to home assistant via Google assistant SDK #129233

Open atlaspl opened 1 month ago

atlaspl commented 1 month ago

The problem

After updating to version 2024.10, I've encountered issues with sending notifications to my Google Home devices from Home Assistant, as well as sending commands to Home Assistant from my Google Home devices.

What version of Home Assistant Core has the issue?

core-2024.10.4

What was the last working version of Home Assistant Core?

core-2024.08

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Google assistant sdk

Link to integration documentation on our website

https://www.home-assistant.io/integrations/google_assistant_sdk

Diagnostics information

config_entry-google_assistant_sdk-01JB4SRJAS4429Z1HFFSENPH5G.json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Registratore: homeassistant.components.google_assistant.http
Fonte: components/google_assistant/http.py:284
Integrazione: Google Assistant (documentazione, problemi)
Prima occorrenza: 19:30:02 (1 occorrenze)
Ultima registrazione: 19:30:02

Request for https://homegraph.googleapis.com/v1/devices:requestSync failed: 500

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @tronikos, mind taking a look at this issue as it has been labeled with an integration (google_assistant_sdk) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `google_assistant_sdk` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign google_assistant_sdk` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


google_assistant_sdk documentation google_assistant_sdk source (message by IssueLinks)

atlaspl commented 4 weeks ago

When I give a command through Google Home linked to Home Assistant, it responds: ‘I’m sorry, the assistant is unavailable at the moment.’

home-assistant[bot] commented 4 weeks ago

Hey there @home-assistant/cloud, mind taking a look at this issue as it has been labeled with an integration (google_assistant) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `google_assistant` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign google_assistant` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


google_assistant documentation google_assistant source (message by IssueLinks)

tronikos commented 4 weeks ago

On what specific action does it fail? I'm confused by your first comment but this seems to be an issue of the Google Assistant integration and not Google Assistant SDK.

atlaspl commented 4 weeks ago

This happens with all commands that have actions triggering Home Assistant scripts

tasomaniac commented 3 weeks ago

This happens with me when I do device sync request too.

Otherwise commands like turning devices on or off work occasionally. That also doesn't work sometimes.

But the sync request consistently gives 500 every time.

Alevale commented 2 weeks ago

Same here, it seems like somehow it works for a while after "logging in again" in the home assistant app, and the integration stops working after a couple of hours....