homebridge-deconz 1.3.1 → 1.3.3
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/cli/ui.js +1 -8
- package/lib/Deconz/Device.js +1 -1
- package/package.json +4 -4
package/cli/ui.js
CHANGED
|
@@ -196,13 +196,7 @@ class Main extends CommandLineTool {
|
|
|
196
196
|
parser
|
|
197
197
|
.help('h', 'help', help.ui)
|
|
198
198
|
.version('V', 'version')
|
|
199
|
-
.
|
|
200
|
-
if (this.debugEnabled) {
|
|
201
|
-
this.setOptions({ vdebug: true })
|
|
202
|
-
} else {
|
|
203
|
-
this.setOptions({ debug: true, chalk: true })
|
|
204
|
-
}
|
|
205
|
-
})
|
|
199
|
+
.debug('D', 'debug', this)
|
|
206
200
|
.option('U', 'username', (value) => {
|
|
207
201
|
clargs.username = OptionParser.toString(
|
|
208
202
|
'username', value, true, true
|
|
@@ -228,7 +222,6 @@ class Main extends CommandLineTool {
|
|
|
228
222
|
clargs.command = value
|
|
229
223
|
})
|
|
230
224
|
.remaining((list) => { clargs.args = list })
|
|
231
|
-
parser
|
|
232
225
|
.parse()
|
|
233
226
|
return clargs
|
|
234
227
|
}
|
package/lib/Deconz/Device.js
CHANGED
|
@@ -99,7 +99,7 @@ class Device {
|
|
|
99
99
|
)
|
|
100
100
|
}
|
|
101
101
|
if (zigbee !== this.zigbee || (zigbee && id !== this.id)) {
|
|
102
|
-
const r = this.resourceBySubtype[
|
|
102
|
+
const r = this.resourceBySubtype[this.primary]
|
|
103
103
|
throw new SyntaxError(
|
|
104
104
|
`${resource.rpath}: cannot combine ${r.rpath}`
|
|
105
105
|
)
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"ebaauw"
|
|
8
8
|
],
|
|
9
9
|
"license": "Apache-2.0",
|
|
10
|
-
"version": "1.3.
|
|
10
|
+
"version": "1.3.3",
|
|
11
11
|
"keywords": [
|
|
12
12
|
"homebridge-plugin",
|
|
13
13
|
"homekit",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
29
29
|
"deCONZ": "2.32.5",
|
|
30
|
-
"homebridge": "^2.
|
|
30
|
+
"homebridge": "^2.1.1",
|
|
31
31
|
"node": "^24||^22"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"hb-deconz-tools": "~3.0.
|
|
35
|
-
"homebridge-lib": "~8.1.
|
|
34
|
+
"hb-deconz-tools": "~3.0.5",
|
|
35
|
+
"homebridge-lib": "~8.1.3"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"prepare": "standard && rm -rf out && jsdoc -c jsdoc.json",
|