homebridge-deconz 1.0.3 → 1.0.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.
@@ -199,11 +199,11 @@ class DeconzAccessory extends AccessoryDelegate {
199
199
  service = new DeconzService[params.serviceName](this, resource, {
200
200
  primaryService: params.primaryService
201
201
  })
202
- if (this.servicesByServiceName[params.serviceName] == null) {
203
- this.servicesByServiceName[params.serviceName] = [service]
204
- } else {
205
- this.servicesByServiceName[params.serviceName].push(service)
206
- }
202
+ }
203
+ if (this.servicesByServiceName[params.serviceName] == null) {
204
+ this.servicesByServiceName[params.serviceName] = [service]
205
+ } else {
206
+ this.servicesByServiceName[params.serviceName].push(service)
207
207
  }
208
208
  if (params.serviceName === 'Label') {
209
209
  service.createButtonServices(resource, params)
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.3",
7
+ "version": "1.0.4",
8
8
  "keywords": [
9
9
  "homebridge-plugin",
10
10
  "homekit",
@@ -22,7 +22,7 @@
22
22
  "ui": "cli/ui.js"
23
23
  },
24
24
  "engines": {
25
- "deCONZ": "2.23.1",
25
+ "deCONZ": "2.23.2",
26
26
  "homebridge": "^1.6.1",
27
27
  "node": "20.8.0||^20||^18"
28
28
  },