homebridge-deconz 0.1.0 → 0.1.1

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.
@@ -98,7 +98,9 @@ class Sensor extends DeconzAccessory {
98
98
  }
99
99
  if (this.serviceByServiceName.AirQuality != null) {
100
100
  const service = this.serviceByServiceName.AirQuality
101
- params.vocDensityDelegate = service.characteristicDelegate('vocDensity')
101
+ if (service.characteristicDelegate('vocDensity') != null) {
102
+ params.vocDensityDelegate = service.characteristicDelegate('vocDensity')
103
+ }
102
104
  }
103
105
  if (this.serviceByServiceName.Flag != null) {
104
106
  const service = this.serviceByServiceName.Flag
@@ -78,7 +78,7 @@ class Switch extends DeconzService.SensorsResource {
78
78
  if (this.buttonServices[i] != null) {
79
79
  this.buttonServices[i].update(
80
80
  buttonResource.buttonEvent, oldValue,
81
- this.accessoryDelegate.settingsService.values.repeat
81
+ false // this.accessoryDelegate.settingsService.values.repeat
82
82
  )
83
83
  }
84
84
  } else {
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": "0.1.0",
7
+ "version": "0.1.1",
8
8
  "keywords": [
9
9
  "homebridge-plugin",
10
10
  "homekit",