homebridge-deconz 1.0.10 → 1.0.12
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/lib/Deconz/Resource.js
CHANGED
@@ -1151,6 +1151,8 @@ class Resource {
|
|
1151
1151
|
if (this.manufacturer === 'LUMI' && this.model === 'lumi.curtain.acn002') {
|
1152
1152
|
this.capabilities.maxSpeed = 2
|
1153
1153
|
this.capabilities.positionChange = true
|
1154
|
+
} else if (this.manufacturer === 'ubisys') {
|
1155
|
+
this.capabilities.useOpen = true
|
1154
1156
|
}
|
1155
1157
|
}
|
1156
1158
|
}
|
@@ -19,10 +19,6 @@ class WarningDevice extends DeconzService.LightsResource {
|
|
19
19
|
value: false
|
20
20
|
}).on('didSet', async (value, fromHomeKit) => {
|
21
21
|
if (fromHomeKit) {
|
22
|
-
if (this.timer != null) {
|
23
|
-
clearTimeout(this.timer)
|
24
|
-
delete this.timer
|
25
|
-
}
|
26
22
|
const onTime = this.values.duration > 0 ? this.values.duration : 1
|
27
23
|
let body = { alert: 'none' }
|
28
24
|
if (value) {
|
@@ -120,7 +120,10 @@ 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 (
|
123
|
+
if (
|
124
|
+
this.resource.capabilities.useOpen &&
|
125
|
+
(this.lift === 0 || lift === 100)
|
126
|
+
) {
|
124
127
|
return this.put(this.statePath, { open: lift === 0 })
|
125
128
|
}
|
126
129
|
return this.put(this.statePath, { lift })
|
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.12",
|
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.26.3",
|
26
26
|
"homebridge": "^1.7.0",
|
27
27
|
"node": "^20||^18"
|
28
28
|
},
|
29
29
|
"dependencies": {
|
30
|
-
"hb-deconz-tools": "~1.0.
|
31
|
-
"homebridge-lib": "~6.7.
|
30
|
+
"hb-deconz-tools": "~1.0.15",
|
31
|
+
"homebridge-lib": "~6.7.5"
|
32
32
|
},
|
33
33
|
"scripts": {
|
34
34
|
"prepare": "standard && rm -rf out && jsdoc -c jsdoc.json",
|