Dreo returns temperature in Fahrenheit units only, and Homebridge accepts temperature updates in Celsius only, so we need to convert between the two - discussion on #19.
Also fixes an issue where the HomeKit value updates in response to a Dreo update would drop the offset. Now offset correction is moved from read-time to write-time, ensuring that this.fanState.Temperature is always consistent.
Dreo returns temperature in Fahrenheit units only, and Homebridge accepts temperature updates in Celsius only, so we need to convert between the two - discussion on #19.
Also fixes an issue where the HomeKit value updates in response to a Dreo update would drop the offset. Now offset correction is moved from read-time to write-time, ensuring that
this.fanState.Temperature
is always consistent.