homebridge-nb 1.2.13 → 1.2.14
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/NbAccessory.js +3 -0
- package/package.json +3 -3
package/lib/NbAccessory.js
CHANGED
|
@@ -231,6 +231,9 @@ class Bridge extends homebridgeLib.AccessoryDelegate {
|
|
|
231
231
|
response = await this.client.list()
|
|
232
232
|
for (const device of response.body) {
|
|
233
233
|
this.debug('device: %j', device)
|
|
234
|
+
if (device.firmwareVersion == null) { // Issue 93.
|
|
235
|
+
continue
|
|
236
|
+
}
|
|
234
237
|
const id = device.nukiId.toString(16).toUpperCase()
|
|
235
238
|
switch (device.deviceType) {
|
|
236
239
|
case NbClient.DeviceTypes.SMARTLOCK:
|
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.2.
|
|
7
|
+
"version": "1.2.14",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"homebridge-plugin",
|
|
10
10
|
"homekit",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"nb": "cli/nb.js"
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
21
|
-
"homebridge": "^1.
|
|
21
|
+
"homebridge": "^1.6.0",
|
|
22
22
|
"node": "^18.12.1"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"homebridge-lib": "~6.0.
|
|
25
|
+
"homebridge-lib": "~6.0.2"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"prepare": "standard",
|