homebridge-zwave-usb 3.6.3 → 3.6.4
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.
|
@@ -242,11 +242,8 @@ class ZWaveAccessory {
|
|
|
242
242
|
}
|
|
243
243
|
getModel() {
|
|
244
244
|
const fingerprint = this.getFingerprint();
|
|
245
|
-
const
|
|
246
|
-
|
|
247
|
-
return `${label} (${fingerprint})`;
|
|
248
|
-
}
|
|
249
|
-
return fingerprint || label || `Node ${this.node.nodeId}`;
|
|
245
|
+
const model = this.node.deviceConfig?.description || this.node.label || this.node.deviceConfig?.label;
|
|
246
|
+
return model || fingerprint || `Node ${this.node.nodeId}`;
|
|
250
247
|
}
|
|
251
248
|
getSerialNumber() {
|
|
252
249
|
const cachedSerialNumber = this.getCachedDeviceSerialNumber();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-zwave-usb",
|
|
3
3
|
"displayName": "Homebridge Z-Wave USB",
|
|
4
|
-
"version": "3.6.
|
|
4
|
+
"version": "3.6.4",
|
|
5
5
|
"description": "A Homebridge dynamic platform plugin for Z-Wave USB controllers using zwave-js.",
|
|
6
6
|
"license": "Polyform-Noncommercial-1.0.0",
|
|
7
7
|
"funding": {
|