lucacri / homebridge-http-temperature-humidity

Apache License 2.0
59 stars 36 forks source link

Added an option to disable reporting of humidity #11

Closed DanTheMan827 closed 8 years ago

DanTheMan827 commented 8 years ago

Add "humidity": false to the config to disable humidity

lucacri commented 8 years ago

Could you make it that if the config['humidity'] is not present at all, it still reports the humidity (for BC purposes)?

DanTheMan827 commented 8 years ago

I use !== false

Anything but false (including undefined) would still behave the same as before