homebridge-melcloud-control 4.3.9-beta.6 → 4.3.9-beta.7
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 +1 -1
- package/src/melcloudata.js +2 -2
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.
|
|
4
|
+
"version": "4.3.9-beta.7",
|
|
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/melcloudata.js
CHANGED
|
@@ -110,7 +110,7 @@ class MelCloudAta extends EventEmitter {
|
|
|
110
110
|
deviceData.Device.DefaultCoolingSetTemperature = temps?.defaultCoolingSetTemperature ?? 24;
|
|
111
111
|
|
|
112
112
|
}
|
|
113
|
-
if (this.logDebug) this.emit('debug', `Device Data: ${JSON.stringify(deviceData, null, 2)}`);
|
|
113
|
+
if (!this.logDebug) this.emit('debug', `Device Data: ${JSON.stringify(deviceData, null, 2)}`);
|
|
114
114
|
|
|
115
115
|
//device
|
|
116
116
|
const serialNumber = deviceData.SerialNumber || '4.0.0';
|
|
@@ -313,7 +313,7 @@ class MelCloudAta extends EventEmitter {
|
|
|
313
313
|
//sens payload
|
|
314
314
|
headers['Content-Type'] = 'application/json; charset=utf-8';
|
|
315
315
|
headers.Origin = ApiUrlsHome.Origin;
|
|
316
|
-
if (this.logDebug) this.emit('debug', `Send Data: ${JSON.stringify(payload, null, 2)}`);
|
|
316
|
+
if (!this.logDebug) this.emit('debug', `Send Data: ${JSON.stringify(payload, null, 2)}`);
|
|
317
317
|
|
|
318
318
|
await axios(path, {
|
|
319
319
|
method: method,
|