iklein99 / homebridge-smartthings

This is a plugin to Homebridge to connect your Smartthings network into Apple Home Kit.
Apache License 2.0
150 stars 52 forks source link

Temperature in Celsius #62

Closed veonua closed 1 year ago

veonua commented 1 year ago
 return (status.temperatureMeasurement.temperature.value as number -  32) * (5/9) ; // Convert to Celcius

For some reason, the service assumes that Smartthings reposts in Fahrenheit. ST response has the unit value. and my value is already in Celcius

iklein99 commented 1 year ago

Thanks for the catch. I'll fix shortly.

iklein99 commented 1 year ago

Ok. Try 1.4.9

veonua commented 1 year ago

great thanks