homebridge-melcloud-control 4.3.5-beta.4 → 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/index.js CHANGED
@@ -212,7 +212,7 @@ class MelCloudPlatform {
212
212
  }
213
213
 
214
214
  //start account impulse generator
215
- await configureAccount.impulseGenerator.state(true, timmers, false);
215
+ await melcloud.impulseGenerator.state(true, timmers, false);
216
216
 
217
217
  //stop start impulse generator
218
218
  await impulseGenerator.state(false);
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",
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",
@@ -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';