martinbernat / homebridge-th16ermostat

Turn your Sonoff TH16/TH10 into simple thermostat in homebridge.
Apache License 2.0
3 stars 2 forks source link

since homebridge 1.3: warning about "NaN" value when thermostat is not connected/available #8

Open Mart-Muc opened 3 years ago

Mart-Muc commented 3 years ago

I know the NaN doeas not affect HB or eve I m sure it was also not handled/catched before, but with HB 1.3 the warnings got visible and make the log unreadable.

[homebridge-th16ermostat] This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info.

is it possible to set it to e.g. -999 ? Thx.