homebridge-melcloud-control 4.3.5-beta.5 → 4.3.5-beta.6
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 +1 -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.5-beta.
|
|
4
|
+
"version": "4.3.5-beta.6",
|
|
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
|
@@ -27,7 +27,6 @@ class MelCloudAta extends EventEmitter {
|
|
|
27
27
|
//set default values
|
|
28
28
|
this.deviceData = {};
|
|
29
29
|
this.headers = {};
|
|
30
|
-
this.firstRun = true;
|
|
31
30
|
|
|
32
31
|
let deviceData = null;
|
|
33
32
|
melcloud.on('devicesList', async (devicesData) => {
|
|
@@ -145,7 +144,7 @@ class MelCloudAta extends EventEmitter {
|
|
|
145
144
|
deviceData.Device.DefaultCoolingSetTemperature = temps?.defaultCoolingSetTemperature ?? 24;
|
|
146
145
|
|
|
147
146
|
}
|
|
148
|
-
if (this.logDebug) this.emit('debug', `Device Data: ${JSON.stringify(deviceData, null, 2)}`);
|
|
147
|
+
if (!this.logDebug) this.emit('debug', `Device Data: ${JSON.stringify(deviceData, null, 2)}`);
|
|
149
148
|
|
|
150
149
|
//device
|
|
151
150
|
const serialNumber = deviceData.SerialNumber || '4.0.0';
|