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 label = this.node.label || this.node.deviceConfig?.label;
246
- if (label && fingerprint) {
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();
@@ -56,6 +56,7 @@ export interface IZWaveNode {
56
56
  productId?: number;
57
57
  deviceConfig?: {
58
58
  label?: string;
59
+ description?: string;
59
60
  manufacturer?: string;
60
61
  };
61
62
  ready: boolean;
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.3",
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": {