google-home / smart-home-nodejs

A sample of the Smart Home device control APIs in Actions on Google
Apache License 2.0
892 stars 291 forks source link

I can't invoke fan speed intent on AC_UNIT #500

Closed 99207432 closed 4 years ago

99207432 commented 4 years ago

I can't invoke fan speed intent on AC_UNIT, setting as below:

"type": "action.devices.types.AC_UNIT",

"traits": [ "action.devices.traits.OnOff", "action.devices.traits.TemperatureSetting", "action.devices.traits.FanSpeed" ]

 "attributes": {
            "reversible": false,
            "availableFanSpeeds": {
              "speeds": [
                {
                  "speed_name": "Low",
                  "speed_values": [
                    {
                      "lang": "en",
                      "speed_synonym": [
                        "low",
                        "slow"
                      ]
                    },
                    {
                      "lang": "de",
                      "speed_synonym": [
                        "niedrig",
                        "schleppend"
                      ]
                    }
                  ]
                },
                {
                  "speed_name": "High",
                  "speed_values": [
                    {
                      "lang": "en'",
                      "speed_synonym": [
                        "high"
                      ]
                    },
                    {
                      "lang": "de",
                      "speed_synonym": [
                        "hoch"
                      ]
                    }
                  ]
                }
              ],
              "ordered": true
            },
            "commandOnlyFanSpeed": true,
            "availableThermostatModes": "off,cool,heat,dry,auto",
            "temperatureTemperatureUnit": "C",
            "commandOnlyTemperatureSetting": true
          }

Looking forward to any helpful answer.

Thanks

Fleker commented 4 years ago

Can you post the full sync response and the commands you're saying?

99207432 commented 4 years ago

Hi Fleker, my full sync response as below, image image image

I ask Google Assistant to "set ac speed to low", and I get search result.

Fleker commented 4 years ago

I'm reproducing this error on my side; filing a bug.

99207432 commented 4 years ago

Thank you for your reply!

proppy commented 4 years ago

Closing as this is not really an issue specific to the sample and has already been escalated.