homebridge-melcloud-control 4.0.0-beta.510 → 4.0.0-beta.511

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/package.json +1 -1
  2. package/src/melcloud.js +2 -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.0.0-beta.510",
4
+ "version": "4.0.0-beta.511",
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/melcloud.js CHANGED
@@ -375,7 +375,7 @@ class MelCloud extends EventEmitter {
375
375
  return accountInfo;
376
376
  }
377
377
 
378
- this.emit('warn', `Found login button ${loginBtn}`);
378
+ this.emit('warn', `Found login button`);
379
379
  await Promise.race([Promise.all([loginBtn.click(), page.waitForNavigation({ waitUntil: ['domcontentloaded', 'networkidle2'], timeout: GLOBAL_TIMEOUT / 4 })]), new Promise(r => setTimeout(r, GLOBAL_TIMEOUT / 3))]);
380
380
 
381
381
  this.emit('warn', `Looking for credentials form...`);
@@ -399,7 +399,7 @@ class MelCloud extends EventEmitter {
399
399
  return accountInfo;
400
400
  }
401
401
 
402
- this.emit('warn', `Found submit button ${submitButton}`);
402
+ this.emit('warn', `Found submit button ${submitButton}`);
403
403
  await Promise.race([Promise.all([submitButton.click(), page.waitForNavigation({ waitUntil: ['domcontentloaded', 'networkidle2'], timeout: GLOBAL_TIMEOUT / 4 })]), new Promise(r => setTimeout(r, GLOBAL_TIMEOUT / 3))]);
404
404
 
405
405
  this.emit('warn', `Looking for cookies...`);