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
72.39k stars 30.29k forks source link

Google Assistant climate calls failing; "missing JSON payload" PARTNER_RESPONSE_MISSING_PAYLOAD #127877

Open cdemi opened 3 days ago

cdemi commented 3 days ago

The problem

Whenever I try to control climate entities from the Google Assitant using manual setup (not Home Assistant Cloud), the call fails. Google Cloud Logs show:

{
  "insertId": "mizk56fqo6l31",
  "jsonPayload": {
    "executionLog": {
      "executionResults": [
        {
          "actionResults": [
            {
              "status": {
                "externalDebugString": "JSON payload missing.",
                "statusType": "PARTNER_RESPONSE_MISSING_PAYLOAD",
                "isSuccess": false
              },
              "device": {
                "deviceType": "THERMOSTAT"
              },
              "action": {
                "actionType": "STATE_QUERY"
              }
            },
            {
              "status": {
                "statusType": "PARTNER_RESPONSE_MISSING_PAYLOAD",
                "isSuccess": false,
                "externalDebugString": "JSON payload missing."
              },
              "device": {
                "deviceType": "THERMOSTAT"
              },
              "action": {
                "actionType": "STATE_QUERY"
              }
            },
            {
              "action": {
                "actionType": "STATE_QUERY"
              },
              "status": {
                "externalDebugString": "JSON payload missing.",
                "statusType": "PARTNER_RESPONSE_MISSING_PAYLOAD",
                "isSuccess": false
              },
              "device": {
                "deviceType": "THERMOSTAT"
              }
            },
            {
              "action": {
                "actionType": "STATE_QUERY"
              },
              "device": {
                "deviceType": "THERMOSTAT"
              },
              "status": {
                "isSuccess": false,
                "externalDebugString": "JSON payload missing.",
                "statusType": "PARTNER_RESPONSE_MISSING_PAYLOAD"
              }
            }
          ],
          "executionType": "PARTNER_CLOUD",
          "latencyMsec": "909",
          "requestId": "15138766783279098404"
        }
      ]
    },
    "locale": "en-US"
  },
  "resource": {
    "type": "assistant_action_project",
    "labels": {
      "project_id": "home-assistant-310216"
    }
  },
  "timestamp": "2024-10-07T18:54:11.339178697Z",
  "severity": "ERROR",
  "logName": "projects/home-assistant-310216/logs/assistant_smarthome%2Fassistant_smarthome_logs",
  "receiveTimestamp": "2024-10-07T18:54:11.339178697Z"
}

All other entities work fine. Unfortunately I don't see any error logs or request response logs in Home Assistant and I'm not sure if I can enable them. If you tell me what kind of logs would be helpful and from where to enable them I will gladly provide

What version of Home Assistant Core has the issue?

core-2024.10.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Google Assistant

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 3 days 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)