homebridge-melcloud-control 4.3.9-beta.14 → 4.3.9-beta.16

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
@@ -140,7 +140,7 @@ class MelCloudPlatform {
140
140
  //chack device is not disabled in config
141
141
  const displayType = device.displayType > 0;
142
142
  if (!displayType) {
143
- if (logLevel.warn) log.warn(`${accountName}, ${deviceTypeString}, ${deviceName}, disabled in config, will not be published in Home app.`);
143
+ if (logLevel.warn) log.warn(`${accountName}, ${deviceTypeString}, ${deviceName}, disabled in configuration, will not be published in the Home app.`);
144
144
  continue;
145
145
  }
146
146
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.3.9-beta.14",
4
+ "version": "4.3.9-beta.16",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -24,7 +24,7 @@ class MelCloudAta extends EventEmitter {
24
24
 
25
25
  //set default values
26
26
  this.deviceData = {};
27
- this.headers = {}
27
+ this.headers = {};
28
28
 
29
29
  //handle melcloud events
30
30
  let deviceData = null;
@@ -36,7 +36,7 @@ class MelCloudAta extends EventEmitter {
36
36
  deviceData.Scenes = devicesData.Scenes ?? [];
37
37
 
38
38
  //update state
39
- if (!this.logDebug) this.emit('debug', `Request update settings: ${JSON.stringify(deviceData.Device, null, 2)}`);
39
+ if (this.logDebug) this.emit('debug', `Request update settings: ${JSON.stringify(deviceData.Device, null, 2)}`);
40
40
  await this.updateState(deviceData);
41
41
  } catch (error) {
42
42
  if (this.logError) this.emit('error', `Request process message error: ${error}`);
@@ -71,7 +71,7 @@ class MelCloudAta extends EventEmitter {
71
71
  }
72
72
  }
73
73
 
74
- if (!this.logDebug) this.emit('debug', `WS update settings: ${JSON.stringify(deviceData.Device, null, 2)}`);
74
+ if (this.logDebug) this.emit('debug', `WS update settings: ${JSON.stringify(deviceData.Device, null, 2)}`);
75
75
  updateState = true;
76
76
  break;
77
77
  case 'unitHolidayModeTriggered':