homebridge-smartsystem 6.2.4 → 6.2.5

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/README.md CHANGED
@@ -273,6 +273,7 @@ Homebridge UI version
273
273
  - 2: added headers to http calls from switches, dimmers and up/down's (including OH stuff)
274
274
  - 3: fixed bug in Sanitizer of UnitConfig preventing from publishing units to homebridge
275
275
  - 4: fixed empty name bug in unit-def / new accessory()
276
+ - 5: fixed bad displayNames in published units
276
277
 
277
278
 
278
279
  ## Hardware
package/duotecno/types.js CHANGED
@@ -375,8 +375,8 @@ exports.Sanitizers = {
375
375
  masterAddress: info.masterAddress || '',
376
376
  masterPort: info.masterPort || 5001,
377
377
  name: info.name || ('unit ' + info.logicalNodeAddress + ":" + info.logicalAddress),
378
- displayName: info.displayName || ('unit ' + info.logicalNodeAddress + ":" + info.logicalAddress),
379
- extendedType: info.extendedType
378
+ displayName: info.displayName || info.name || ('unit ' + info.logicalNodeAddress + ":" + info.logicalAddress),
379
+ extendedType: info.extendedType || UnitExtendedType.kNoType
380
380
  };
381
381
  },
382
382
  unitConfig: function (config) {
package/duotecno/types.ts CHANGED
@@ -566,8 +566,9 @@ export const Sanitizers = {
566
566
  masterPort: info.masterPort || 5001,
567
567
 
568
568
  name: info.name || ('unit '+info.logicalNodeAddress+":"+info.logicalAddress),
569
- displayName: info.displayName || ('unit '+info.logicalNodeAddress+":"+info.logicalAddress),
570
- extendedType: info.extendedType
569
+ displayName: info.displayName || info.name || ('unit '+info.logicalNodeAddress+":"+info.logicalAddress),
570
+
571
+ extendedType: info.extendedType || UnitExtendedType.kNoType
571
572
  };
572
573
  },
573
574
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-smartsystem",
3
3
  "displayname": "Duotecno Bridge",
4
- "version": "6.2.4",
4
+ "version": "6.2.5",
5
5
  "description": "SmartServer (Proxy Websockets to TCP sockets, Smappee MQTT, Duotecno IP Nodes, Homekit interface)",
6
6
  "main": "index.js",
7
7
  "author": "Johan Coppieters",