Releases: DMBlakeley/homebridge-awair2
Releases · DMBlakeley/homebridge-awair2
Additional deviceUUID checks
- [Housekeeping] Check if device exists based on
deviceUUID
rather thanserial
for consistency with cache restore checks.deviceUUID
used as basis for HomebridgeUUID
. - [Logging] Add accType to logging messages added in v5.9.7 so that UUIDs can be more easily tracked.
Add additional logging for homebridge accessory UUID
- [Debugging] Add additional logging for homebridge accessory UUID during addition of new Awair device and recovery from cache for existing Awair devices.
Plug-in initialization improvements
- [Housekeeping] Plug-in initialization code and logging improvements.
- [Housekeeping] Update dependent node modules to latest versions.
Add option to enable/disable VOC and PM2.5 binary limit switches
- [Enhancement] Add option to enable/disable VOC and PM2.5 binary limit switches.
- [Housekeeping] Update dependent node modules to latest versions.
Update for 'minimist' vulnerability
- [Security] Update
minimist
homebridge-awair2 dependency to version>=0.2.1
to address CVE-2020-7598 security advisory. - [Housekeeping] Improve error logging for
updateAirQualityData
,getBatteryStatus
andgetOccupancyStatus
to includeaccessory.context.serial
in logging output.
Correctly report humidity
- [Bug] Correctly report humidity. Was returning
0%
for all Awair devices.
Add binary limit switches for VOC and PM2.5.
- [Enhancement] Add binary limit switches for VOC and PM2.5. The switches are implemented as dummy
occupancy sensors
and can be used to trigger HomeKit automations. - NOTE: Awair device(s) need to be deleted from Homebridge cache followed by Homebridge restart in order to add VOC and PM2.5 limit switch capability. This also will require that the Awair device(s) be reconfigured in HomeKit including room location and automations.
- [Security] Update
follow-redirects
to version 1.14.7 to address CVE-2022-0155 security advisory. - [Housekeeping] Update node_module dependencies to latest versions. Added explicit return types for all functions. Added explicit
return
to close all functions as appropriate.
Compatibility with [email protected]
Updates to index.ts
, package.json
, and package-lock.json
for compatibility with eslint v8.50
and @typescript-eslint v5.7.0
.
Update to `lockfileversion 2`
Update to lockfileversion 2
. The lockfile version used by npm v7, which is backwards compatible to v1 lockfiles.
Updates for compatibility with axios v0.24.0
Updated index.ts
for compatibility with axios v0.24.0
which changed never
type to unknown
. Added specification that response data should be any
.