tonesto7 / homebridge-smartthings

SmartThings Homebridge Plugin
385 stars 767 forks source link

(BUG) Thermostats with decimals round up #330

Open jianyu-li opened 4 years ago

jianyu-li commented 4 years ago

Verify the following before opening an trouble issue

Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!


About Your Setup

Expected Behavior

If temperature on thermostat reads 76.5 then it should show in HomeKit as 76.

Current Behavior

Temperature in thermostat reads 76.5, HomeKit shows 77.

Context

This causes an issue when you try to set the thermostat to 76 in HomeKit thinking that the temperature is 77. Thermostat never turns in the cooler because the real temperature is 76.5 and not 77


Please include a copy of any relevant log output to assist in tracking down the bug