homebridge-melcloud-control 4.0.0-beta.457 → 4.0.0-beta.458

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.
@@ -232,7 +232,7 @@
232
232
  const account = pluginConfig[0].accounts[this.accountIndex];
233
233
  const devicesInMelCloud = await Promise.race([
234
234
  homebridge.request('/connect', account),
235
- new Promise((_, reject) => setTimeout(() => reject(new Error('Connection timeout (30s)')), 30000))
235
+ new Promise((_, reject) => setTimeout(() => reject(updateInfo('info1', `Connection timeout (30sec)`, 'red')), 30000))
236
236
  ]);
237
237
 
238
238
  // Initialize devices arrays
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.0.0-beta.457",
4
+ "version": "4.0.0-beta.458",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",