homebridge-melcloud-control 4.0.0-beta.75 → 4.0.0-beta.76

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.0.0-beta.75",
4
+ "version": "4.0.0-beta.76",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -75,7 +75,7 @@ class MelCloudAta extends EventEmitter {
75
75
  //device info
76
76
  const hideVaneControls = deviceData.HideVaneControls ?? false;
77
77
  const hideDryModeControl = deviceData.HideDryModeControl ?? false;
78
- const serialNumber = deviceData.SerialNumber;
78
+ const serialNumber = deviceData.SerialNumber || deviceData.DeviceID || 'Undefined';
79
79
 
80
80
  //device
81
81
  const device = deviceData.Device ?? {};