toto / homebridge-airrohr

HomeBridge module for the DIY luftdaten.info particulates sensor. See http://luftdaten.info how to build your own
http://luftdaten.info
MIT License
52 stars 12 forks source link

Make public temperature optional #19

Closed alexryd closed 6 years ago

alexryd commented 6 years ago

This PR makes the public_temperature_json_data and public_airquality_json_data config variables independent of each other so that it's possible to only load air quality data without temperature data or the other way around. So for instance if public_temperature_json_data is not specified in the config, no TemperatureSensor or HumiditySensor services will be exposed and no temperature data will be loaded. Fixes #16 and fixes #15.

toto commented 6 years ago

@alexryd Could you resolve the conflicts, than I can review this MR. Thanks :-)

toto commented 6 years ago

Fixed with #22