homebridge-deconz 1.0.7 → 1.0.9
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/deconz.png
ADDED
Binary file
|
@@ -1123,7 +1123,9 @@ class Gateway extends AccessoryDelegate {
|
|
1123
1123
|
const mac = resource.body.uniqueid.split('-')[0]
|
1124
1124
|
try {
|
1125
1125
|
const ddf = await this.client.get('/devices/' + mac + '/ddf')
|
1126
|
-
if (ddf.status
|
1126
|
+
if (ddf.status === 'Draft') {
|
1127
|
+
this.warn('%s: exposed by legacy code', name)
|
1128
|
+
} else if (ddf.status !== 'Gold') {
|
1127
1129
|
this.warn('%s: exposed by %s ddf', name, ddf.status.toLowerCase())
|
1128
1130
|
} else {
|
1129
1131
|
this.debug('%s: exposed by %s ddf', name, ddf.status.toLowerCase())
|
@@ -120,6 +120,9 @@ class WindowCovering extends DeconzService.LightsResource {
|
|
120
120
|
? this.Characteristics.hap.PositionState.INCREASING
|
121
121
|
: this.Characteristics.hap.PositionState.DECREASING
|
122
122
|
this.moving = new Date()
|
123
|
+
if (lift === 0 || lift === 100) {
|
124
|
+
return this.put(this.statePath, { open: lift === 0 })
|
125
|
+
}
|
123
126
|
return this.put(this.statePath, { lift })
|
124
127
|
}
|
125
128
|
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"displayName": "Homebridge deCONZ",
|
5
5
|
"author": "Erik Baauw",
|
6
6
|
"license": "Apache-2.0",
|
7
|
-
"version": "1.0.
|
7
|
+
"version": "1.0.9",
|
8
8
|
"keywords": [
|
9
9
|
"homebridge-plugin",
|
10
10
|
"homekit",
|
@@ -22,13 +22,13 @@
|
|
22
22
|
"ui": "cli/ui.js"
|
23
23
|
},
|
24
24
|
"engines": {
|
25
|
-
"deCONZ": "2.
|
25
|
+
"deCONZ": "2.24.2",
|
26
26
|
"homebridge": "^1.7.0",
|
27
|
-
"node": "20.
|
27
|
+
"node": "20.10.0||^20||^18"
|
28
28
|
},
|
29
29
|
"dependencies": {
|
30
|
-
"hb-deconz-tools": "~1.0.
|
31
|
-
"homebridge-lib": "~6.7.
|
30
|
+
"hb-deconz-tools": "~1.0.13",
|
31
|
+
"homebridge-lib": "~6.7.3"
|
32
32
|
},
|
33
33
|
"scripts": {
|
34
34
|
"prepare": "standard && rm -rf out && jsdoc -c jsdoc.json",
|