openhab / openhab-google-assistant

openHAB Google Assistant: Actions on Google for openHAB
Eclipse Public License 2.0
176 stars 86 forks source link

Return Humidity states as Integer #450

Closed michikrug closed 1 year ago

michikrug commented 1 year ago

As reported by multiple users, the humidity sensor feature is not working properly. After some investigations, I discovered that Google requires Integers values while the current implementations returns floating point numbers.

With this PR both the ClimateSensor and HumiditySensor are returning Integer values for the humidity.


Should fix #448