homebridge-rpi 1.3.21 → 1.3.22

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/RpiInfo.js CHANGED
@@ -70,7 +70,7 @@ class RpiInfo extends events.EventEmitter {
70
70
  try {
71
71
  state = JSON.parse(output)
72
72
  } catch (error) {
73
- throw new Error('invalid state: %s', error.message)
73
+ throw new Error(`invalid state: ${error.message}`)
74
74
  }
75
75
  return {
76
76
  date: (new Date(state.date)).toISOString(),
@@ -290,7 +290,7 @@ class RpiPlatform extends homebridgeLib.Platform {
290
290
  // firmware: rpi.revision,
291
291
  hardware: cpuInfo.revision,
292
292
  category: this.Accessory.Categories.Other,
293
- pi: pi,
293
+ pi,
294
294
  gpioMask: cpuInfo.gpioMask,
295
295
  hidden: host.hidden,
296
296
  noPowerLed: host.noPowerLed || !cpuInfo.powerLed,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName": "Homebridge RPi",
5
5
  "author": "Erik Baauw",
6
6
  "license": "Apache-2.0",
7
- "version": "1.3.21",
7
+ "version": "1.3.22",
8
8
  "keywords": [
9
9
  "homebridge-plugin",
10
10
  "raspberrypi",
@@ -18,11 +18,11 @@
18
18
  "rpi": "cli/rpi.js"
19
19
  },
20
20
  "engines": {
21
- "homebridge": "^1.4.0",
22
- "node": "^16.14.2"
21
+ "homebridge": "^1.4.1",
22
+ "node": "^16.15.0"
23
23
  },
24
24
  "dependencies": {
25
- "homebridge-lib": "~5.3.2"
25
+ "homebridge-lib": "~5.5.0"
26
26
  },
27
27
  "scripts": {
28
28
  "prepare": "standard && rm -rf out && jsdoc -c jsdoc.json",