homebridge-nb 1.3.0 → 1.3.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.
@@ -345,10 +345,10 @@ class DoorSensor extends NbAccessory {
345
345
  params.model = 'Door Sensor'
346
346
  super(bridge, params)
347
347
  this.service = new NbService.DoorSensor(this)
348
- this.historyService = new homebridgeLib.ServiceDelegate.History.Sensor(this, {
348
+ this.historyService = new homebridgeLib.ServiceDelegate.History(this, {
349
349
  contactDelegate: this.service.characteristicDelegate('contact'),
350
- timesOpenedDelegate: this.service.characteristicDelegate('timesOpened'),
351
- lastContactDelegate: this.service.characteristicDelegate('lastActivation')
350
+ lastContactDelegate: this.service.characteristicDelegate('lastActivation'),
351
+ timesOpenedDelegate: this.service.characteristicDelegate('timesOpened')
352
352
  })
353
353
  }
354
354
 
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName": "Homebridge NB",
5
5
  "author": "Erik Baauw",
6
6
  "license": "Apache-2.0",
7
- "version": "1.3.0",
7
+ "version": "1.3.1",
8
8
  "keywords": [
9
9
  "homebridge-plugin",
10
10
  "homekit",
@@ -22,7 +22,7 @@
22
22
  "node": "^18.13.0"
23
23
  },
24
24
  "dependencies": {
25
- "homebridge-lib": "~6.2.2"
25
+ "homebridge-lib": "~6.3.2"
26
26
  },
27
27
  "scripts": {
28
28
  "prepare": "standard",