0

My google actions SYNC response is..


{
  "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf",
  "payload": {
    "agentUserId": "1836.15267389",
    "devices": [
      {
        "id": "3",
        "type": "action.devices.types.AC_UNIT",
        "traits": [
          "action.devices.traits.OnOff",
          "action.devices.traits.TemperatureSetting"
        ],
        "name": {
          "name": "AC",
          "nicknames": [
            "AC"
          ]
        },
        "willReportState": false,
        "attributes": {
          "availableThermostatModes": "off,heat,cool,on",
          "thermostatTemperatureUnit": "C"
        }
      }
    ]
  }
}

When I told google mini to set the AC temperature.

Then google replied that this instruction is not supported.

But turn on/off is working.

How can I fix it?

CW Yu
  • 11
  • 2
  • Where's your code that tries to set the AC temperature? – Ken White Nov 21 '19 at 03:44
  • I told google mini that when setting the temperature, he did not send the API to my server. – CW Yu Nov 21 '19 at 03:51
  • If your question is not about code, it's off topic here. Did you write code for Google Mini? If not, we can't help you. – Ken White Nov 21 '19 at 03:54
  • [Smart Home TemperatureSetting Trait Schema](https://developers.google.com/assistant/smarthome/traits/temperaturesetting.html) I follow this page to set up the google actions,but I can not control the temperature – CW Yu Nov 21 '19 at 03:57
  • Yes, I know that, but I don't see any code that tries to set the temperature and fails. Where is that code? If there is no code that tries to set the temperature, then this is the wrong site for your question. – Ken White Nov 21 '19 at 03:58
  • Sorry, I don't understand. Because in addition to the "SYNC" "QUERY" command, I did not receive the "EXECUTE" command from google. – CW Yu Nov 21 '19 at 04:15

1 Answers1

0

Use action.devices.types.THERMOSTAT

can fix the issue

CW Yu
  • 11
  • 2