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 +1 -1
- package/package.json +1 -1
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
|
|
225
|
+
return fixedAmbientLight;
|
|
226
226
|
}
|
|
227
227
|
/**
|
|
228
228
|
* Get the auto switch state of the purifier.
|
package/package.json
CHANGED