homebridge-lib 6.3.16 → 6.3.18

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.
@@ -351,9 +351,22 @@ class EveHomeKitTypes extends CustomHomeKitTypes {
351
351
 
352
352
  this.createCharacteristicClass('ConfigData', uuid('131'), {
353
353
  format: this.Formats.DATA,
354
- perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.HIDDEN]
354
+ perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY]
355
355
  }, 'Config Data')
356
356
 
357
+ this.createCharacteristicClass('ElgatoDeviceStatus', uuid('134'), {
358
+ format: this.Formats.UINT32,
359
+ perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY]
360
+ })
361
+ this.Characteristics.ElgatoDeviceStatus.SMOKE_DETECTED = 1 << 0
362
+ this.Characteristics.ElgatoDeviceStatus.HEAT_DETECTED = 1 << 1
363
+ this.Characteristics.ElgatoDeviceStatus.ALARM_TEST_ACTIVE = 1 << 2
364
+ this.Characteristics.ElgatoDeviceStatus.SMOKE_CHAMBER = 1 << 9
365
+ this.Characteristics.ElgatoDeviceStatus.SMOKE_SENSOR_DEACTIVATED = 1 << 14
366
+ this.Characteristics.ElgatoDeviceStatus.FLASH_STATUS_LED = 1 << 15
367
+ this.Characteristics.ElgatoDeviceStatus.ALARM_PAUSED = 1 << 24
368
+ this.Characteristics.ElgatoDeviceStatus.ALARM_MUTED = 1 << 25
369
+
357
370
  this.createCharacteristicClass('WeatherTrend', uuid('136'), {
358
371
  format: this.Formats.UINT8,
359
372
  minValue: 0,
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": "6.3.16",
6
+ "version": "6.3.18",
7
7
  "keywords": [
8
8
  "homekit",
9
9
  "homebridge"
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "engines": {
24
24
  "homebridge": "^1.6.1",
25
- "node": "^18.16.0"
25
+ "node": "^18.16.1"
26
26
  },
27
27
  "dependencies": {
28
28
  "@homebridge/plugin-ui-utils": "~0.0.19",
29
- "hb-lib-tools": "^1.0.8"
29
+ "hb-lib-tools": "~1.0.10"
30
30
  },
31
31
  "scripts": {
32
32
  "prepare": "standard && rm -rf out && jsdoc -c jsdoc.json",