Temperature property has wrong JSON property name
RicoSuter opened this issue · comments
The serialization for temperature is broken:
should be "temperature" and not "motion".
Also the temperature value should be a double and not an int:
Thanks for letting me know. It's fixed.
The documentation on the Hue site indicates the temperature.temperature
property is deprecated. So I removed it completely.
The temperature value can be found in Temperature.TemperatureReport.Temperature
.
This change is in version 1.5.2 which is being published to NuGet right now.
The temperature value can be found in Temperature.TemperatureReport.Temperature.
Yes, but how do I get the TemperatureReport from a TemperatureResource?
Yes, looks like the TemperatureReport was not added with the last update. I fixed it and it's being pushed to NuGet right now.
Just did another update with support for the new Button properties, also added support for CameraMotion, TamperSensor and ContactSensor 👍