homebridge-melcloud-control 4.0.0-beta.97 → 4.0.0-beta.99

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/index.js CHANGED
@@ -138,7 +138,6 @@ class MelCloudPlatform {
138
138
  continue;
139
139
  }
140
140
 
141
- device.id = displayType === 'melcloud' ? parseInt(device.id) : device.id;
142
141
  const deviceName = device.name;
143
142
  const deviceType = device.type;
144
143
  const deviceTypeText = device.typeString;
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.97",
4
+ "version": "4.0.0-beta.99",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
package/src/deviceata.js CHANGED
@@ -937,7 +937,7 @@ class DeviceAta extends EventEmitter {
937
937
  this.manufacturer = manufacturer;
938
938
  this.model = modelIndoor ? modelIndoor : modelOutdoor ? modelOutdoor : `${this.deviceTypeText} ${this.deviceId}`;
939
939
  this.serialNumber = serialNumber;
940
- this.firmwareRevision = firmwareAppVersion;
940
+ this.firmwareRevision = firmwareAppVersion ?? '4.0.0';
941
941
 
942
942
  this.informationService?.setCharacteristic(Characteristic.FirmwareRevision, firmwareAppVersion);
943
943
  })