mylesagray / homebridge-blueair

BlueAir air purifier plugin for homebridge
Apache License 2.0
39 stars 20 forks source link

Sense+ and Aware support bug fix #30

Closed mlkh0225 closed 4 years ago

mlkh0225 commented 4 years ago

Added code to prevent user enableing unsupported functions for set devices.

Environmental reading (including history) will always be disabled if device is purifierOnly, and LED will always be disabled if device is sensorOnly, regardless of user config setting.

mylesagray commented 4 years ago

This LGTM, will merge and cut a release.

Ideally I’d like to implement the settings page for homebridge UI so that all this can be auto generated, including the purifier index if and such implementation details.

Perhaps a refactor into a platform to populate multiple accessories would be a better solution long term.