homebridge-melcloud-control 4.3.5-beta.30 → 4.3.5-beta.31

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.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -133,9 +133,6 @@ class MelCloudPlatform {
133
133
  }
134
134
  if (logLevel.debug) log.info(melcloudDevicesList.Info);
135
135
 
136
- //start account impulse generator
137
- await melcloud.impulseGenerator.state(true, timmers, false);
138
-
139
136
  //configured devices
140
137
  const ataDevices = (account.ataDevices || []).filter(device => device.id != null && String(device.id) !== '0');
141
138
  const atwDevices = (account.atwDevices || []).filter(device => device.id != null && String(device.id) !== '0');
@@ -211,6 +208,9 @@ class MelCloudPlatform {
211
208
 
212
209
  //stop start impulse generator
213
210
  await impulseGenerator.state(false);
211
+
212
+ //start account impulse generator
213
+ await melcloud.impulseGenerator.state(true, timmers, false);
214
214
  } catch (error) {
215
215
  if (logLevel.error) log.error(`${accountName}, Start impulse generator error, ${error.message ?? error}, trying again.`);
216
216
  }
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.30",
4
+ "version": "4.3.5-beta.31",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",