homebridge-melcloud-control 3.1.4-beta.7 → 3.1.4-beta.8

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": "3.1.4-beta.7",
4
+ "version": "3.1.4-beta.8",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -58,7 +58,7 @@ class MelCloudAta extends EventEmitter {
58
58
 
59
59
  //read device info from file
60
60
  const devicesData = await this.readData(devicesFile);
61
- const debug1 = !debugLog ? this.emit('debug', `Device Info: ${JSON.stringify(devicesData, null, 2)}`) : false;
61
+ const debug1 = debugLog ? this.emit('debug', `Device Info: ${JSON.stringify(devicesData, null, 2)}`) : false;
62
62
  const deviceData = devicesData.find((device) => device.DeviceID === deviceId);
63
63
 
64
64
  if (!deviceData) {