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.
- package/lib/MyHomeKitTypes.js +8 -0
- package/package.json +1 -1
package/lib/MyHomeKitTypes.js
CHANGED
|
@@ -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
|