homebridge-deconz 1.3.2 → 1.3.4

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.
@@ -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[subtype]
102
+ const r = this.resourceBySubtype[this.primary]
103
103
  throw new SyntaxError(
104
104
  `${resource.rpath}: cannot combine ${r.rpath}`
105
105
  )
@@ -19,7 +19,7 @@ const { SINGLE, DOUBLE, LONG } = DeconzService.Button
19
19
  const rtypes = ['lights', 'sensors', 'groups', 'alarmsystems']
20
20
 
21
21
  const patterns = {
22
- clipId: /^(S[0-9]{1,3})-([0-9a-z]{2})-([0-9a-z]{4})$/i,
22
+ clipId: /^(S[0-9]{1,5})-([0-9a-z]{2})-([0-9a-z]{4})$/i,
23
23
  swversion: /^([0-9]+)(?:\.([0-9]+)(?:\.([0-9]+)(?:_([0-9]{4}))?)?)?$/
24
24
  }
25
25
 
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "ebaauw"
8
8
  ],
9
9
  "license": "Apache-2.0",
10
- "version": "1.3.2",
10
+ "version": "1.3.4",
11
11
  "keywords": [
12
12
  "homebridge-plugin",
13
13
  "homekit",
@@ -26,13 +26,13 @@
26
26
  "ui": "cli/ui.js"
27
27
  },
28
28
  "engines": {
29
- "deCONZ": "2.32.5",
30
- "homebridge": "^2.1.0",
29
+ "deCONZ": "2.33.2",
30
+ "homebridge": "^2.2.1",
31
31
  "node": "^24||^22"
32
32
  },
33
33
  "dependencies": {
34
- "hb-deconz-tools": "~3.0.4",
35
- "homebridge-lib": "~8.1.1"
34
+ "hb-deconz-tools": "~3.0.6",
35
+ "homebridge-lib": "~8.1.4"
36
36
  },
37
37
  "scripts": {
38
38
  "prepare": "standard && rm -rf out && jsdoc -c jsdoc.json",