alexa-samples / alexa-smarthome

Resources for Alexa Smart Home developers.
https://alexa.design/smarthome
Other
686 stars 336 forks source link

"That command doesn't work on device.." Temperature controls #13

Closed madgeni closed 6 years ago

madgeni commented 6 years ago

Hi - My skill discovers and controls thermostats + temp sensors. In v2, users could ask "What's the temperature of device name" - and it would work. In v3, the only command that seems to respond is "What temperature is device name set to?" - which isn't very natural, and is asking the wrong thing - i want the current temp, not the temperature i've asked it to heat to.

Can someone comment on this? There's quite a few of us on the Smart Home Skill forum struggling with this

madgeni commented 6 years ago

Urgh. User error. it helps if you put TemperatureSensor in the discovery..

{ type: "AlexaInterface", interface: "Alexa.TemperatureSensor", version: "3", properties: { supported: [{ name: "temperature" } ], proactivelyReportable: false, retrievable: true } }