Supereg / homebridge-http-temperature-sensor

Http temperature sensor for Homebridge: https://github.com/homebridge/homebridge
ISC License
31 stars 18 forks source link

Don't write so many logs (when successfully anyway) #2

Closed daberlin closed 5 years ago

daberlin commented 5 years ago

For each temperature sensor, a log message is created on every poll: "Temperature is currently at ...". Since this produces quite a lot of superfluous messages, this patch introduces a debug mode á la home bridge-http-switch and only creates those logs when it os switched on.

Supereg commented 5 years ago

v0.1.6 is now live