homebridge-melcloud-control 3.8.3-beta.3 → 3.8.3-beta.4
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/deviceata.js +1 -1
- package/src/melcloudata.js +1 -1
- package/src/melcloudatw.js +1 -0
- package/src/melclouderv.js +1 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "3.8.3-beta.
|
|
4
|
+
"version": "3.8.3-beta.4",
|
|
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
|
@@ -1059,7 +1059,7 @@ class DeviceAta extends EventEmitter {
|
|
|
1059
1059
|
|
|
1060
1060
|
};
|
|
1061
1061
|
|
|
1062
|
-
this.emit('warn', `Update characteristics: ${power ? 1 : 0}, ${obj.currentOperationMode}, ${obj.targetOperationMode}, ${roomTemperature}, ${
|
|
1062
|
+
this.emit('warn', `Update characteristics: ${power ? 1 : 0}, ${obj.currentOperationMode}, ${obj.targetOperationMode}, ${roomTemperature}, ${setTemperature}`);
|
|
1063
1063
|
|
|
1064
1064
|
//operating mode 0, HEAT, DRY, COOL, 4, 5, 6, FAN, AUTO, ISEE HEAT, ISEE DRY, ISEE COOL
|
|
1065
1065
|
switch (this.displayMode) {
|
package/src/melcloudata.js
CHANGED
|
@@ -336,7 +336,7 @@ class MelCloudAta extends EventEmitter {
|
|
|
336
336
|
//check state changes
|
|
337
337
|
const deviceDataHasNotChanged = JSON.stringify(deviceState) === JSON.stringify(this.deviceState);
|
|
338
338
|
if (deviceDataHasNotChanged) {
|
|
339
|
-
this.emit('
|
|
339
|
+
const debug = this.enableDebugMode ? this.emit('debug', `Data not changed`) : false;
|
|
340
340
|
return;
|
|
341
341
|
}
|
|
342
342
|
this.deviceState = deviceState;
|
package/src/melcloudatw.js
CHANGED
|
@@ -400,6 +400,7 @@ class MelCloudAtw extends EventEmitter {
|
|
|
400
400
|
//check state changes
|
|
401
401
|
const deviceDataHasNotChanged = JSON.stringify(deviceState) === JSON.stringify(this.deviceState);
|
|
402
402
|
if (deviceDataHasNotChanged) {
|
|
403
|
+
const debug = this.enableDebugMode ? this.emit('debug', `Data not changed`) : false;
|
|
403
404
|
return;
|
|
404
405
|
}
|
|
405
406
|
this.deviceState = deviceState;
|
package/src/melclouderv.js
CHANGED
|
@@ -324,6 +324,7 @@ class MelCloudErv extends EventEmitter {
|
|
|
324
324
|
//check state changes
|
|
325
325
|
const deviceDataHasNotChanged = JSON.stringify(deviceState) === JSON.stringify(this.deviceState);
|
|
326
326
|
if (deviceDataHasNotChanged) {
|
|
327
|
+
const debug = this.enableDebugMode ? this.emit('debug', `Data not changed`) : false;
|
|
327
328
|
return;
|
|
328
329
|
}
|
|
329
330
|
this.deviceState = deviceState;
|