homebridge-winix-purifiers 2.1.0 → 2.1.2

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/README.md CHANGED
@@ -45,6 +45,7 @@
45
45
  This plugin officially supports the following Winix air purifiers:
46
46
 
47
47
  * C545
48
+ * C610
48
49
  * C909
49
50
 
50
51
  While other models aren't explicitly blocked, they're not yet officially supported and may not work as expected.
package/dist/accessory.js CHANGED
@@ -400,6 +400,8 @@ class WinixPurifierAccessory {
400
400
  switch (airQuality) {
401
401
  case winix_api_1.AirQuality.Good:
402
402
  return this.Characteristic.AirQuality.GOOD;
403
+ case winix_api_1.AirQuality.GoodAlternate:
404
+ return this.Characteristic.AirQuality.GOOD;
403
405
  case winix_api_1.AirQuality.Fair:
404
406
  return this.Characteristic.AirQuality.FAIR;
405
407
  case winix_api_1.AirQuality.Poor:
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.1.0",
5
+ "version": "2.1.2",
6
6
  "description": "Homebridge plugin for Winix air purifiers",
7
7
  "license": "Apache-2.0",
8
8
  "repository": {
@@ -12,9 +12,13 @@
12
12
  "bugs": {
13
13
  "url": "https://github.com/regaw-leinad/homebridge-winix-purifiers/issues"
14
14
  },
15
+ "funding": {
16
+ "type": "paypal",
17
+ "url": "https://paypal.me/dwager0"
18
+ },
15
19
  "engines": {
16
- "node": "^18 || ^20",
17
- "homebridge": ">=1.7.0"
20
+ "node": "^18 || ^20 || ^22",
21
+ "homebridge": "^1.7.0 || ^2.0.0-beta.0"
18
22
  },
19
23
  "main": "dist/index.js",
20
24
  "files": [
@@ -29,7 +33,7 @@
29
33
  "ci:server": "yarn --frozen-lockfile",
30
34
  "ci:ui": "yarn --cwd ./src/homebridge-ui/ui --frozen-lockfile",
31
35
  "clean": "rm -rf ./dist && rm -rf ./src/homebridge-ui/ui/dist",
32
- "encrypt-password": "ts-node ./encrypt-password.ts",
36
+ "encrypt-password": "ts-node ./script/encrypt-password.ts",
33
37
  "install:ui": "yarn --cwd ./src/homebridge-ui/ui",
34
38
  "lint": "yarn lint:server && yarn lint:ui",
35
39
  "lint:server": "eslint ./src/**.ts --max-warnings=0",
@@ -46,16 +50,18 @@
46
50
  "homebridge-plugin",
47
51
  "c545",
48
52
  "c909",
53
+ "c610",
49
54
  "winix",
50
55
  "winix c545",
51
56
  "winix c909",
57
+ "winix c610",
52
58
  "winix purifier",
53
59
  "winix air purifier"
54
60
  ],
55
61
  "dependencies": {
56
62
  "@homebridge/plugin-ui-utils": "^1.0.1",
57
63
  "async-lock": "^1.4.1",
58
- "winix-api": "1.5.3"
64
+ "winix-api": "1.5.5"
59
65
  },
60
66
  "devDependencies": {
61
67
  "@types/async-lock": "^1.4.2",