homebridge-lib 5.1.21 → 5.1.22-0

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.
@@ -690,6 +690,14 @@ class MyHomeKitTypes extends homebridgeLib.CustomHomeKitTypes {
690
690
  perms: [this.Perms.READ, this.Perms.NOTIFY, this.Perms.WRITE]
691
691
  }, 'Low Battery Threshold')
692
692
 
693
+ this.createCharacteristicClass('PositionChange', uuid('076'), {
694
+ format: this.Formats.INT,
695
+ minValue: -1,
696
+ maxValue: 1,
697
+ minStep: 1, // Force Down|Up control in Eve
698
+ perms: [this.Perms.READ, this.Perms.NOTIFY, this.Perms.WRITE]
699
+ }, 'Position Change')
700
+
693
701
  // Characteristic for Unique ID, used by homebridge-hue.
694
702
  // Source: as exposed by the Philips Hue bridge. This characteristic is
695
703
  // used by the Hue app to select the accessories when syncing Hue bridge
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Library for homebridge plugins",
4
4
  "author": "Erik Baauw",
5
5
  "license": "Apache-2.0",
6
- "version": "5.1.21",
6
+ "version": "5.1.22-0",
7
7
  "keywords": [
8
8
  "homekit",
9
9
  "homebridge"