homebridge-melcloud-control 3.1.1-beta.0 → 3.1.1-beta.1

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
@@ -72,10 +72,10 @@ class MelCloudPlatform {
72
72
  const refreshInterval = account.refreshInterval * 1000 || 120000;
73
73
  const deviceRefreshInterval = account.deviceRefreshInterval * 1000 || 5000;
74
74
 
75
- //melcloud account
76
- const melCloud = new MelCloud(user, passwd, language, accountInfoFile, buildingsFile, deviceFile, enableDebugMode, refreshInterval, false);
77
-
78
75
  try {
76
+ //melcloud account
77
+ const melCloud = new MelCloud(user, passwd, language, accountInfoFile, buildingsFile, deviceFile, enableDebugMode, refreshInterval, false);
78
+
79
79
  //connect
80
80
  const response = await melCloud.connect();
81
81
  const accountInfo = response.accountInfo;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "3.1.1-beta.0",
4
+ "version": "3.1.1-beta.1",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",