homebridge-winix-purifiers 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/accessory.js CHANGED
@@ -222,7 +222,7 @@ class WinixPurifierAccessory {
222
222
  // Fix ambient light value under 0.0001 warning
223
223
  const fixedAmbientLight = Math.max(ambientLight, MIN_AMBIENT_LIGHT);
224
224
  this.log.debug('getAmbientLight():', 'measured:', ambientLight, 'fixed:', fixedAmbientLight);
225
- return ambientLight;
225
+ return fixedAmbientLight;
226
226
  }
227
227
  /**
228
228
  * Get the auto switch state of the purifier.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "displayName": "Winix Air Purifiers",
4
4
  "name": "homebridge-winix-purifiers",
5
- "version": "2.0.0",
5
+ "version": "2.0.1",
6
6
  "description": "Homebridge plugin for Winix air purifiers",
7
7
  "license": "Apache-2.0",
8
8
  "repository": {