homebridge-melcloud-control 4.0.0-beta.274 → 4.0.0-beta.275

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 +1 -1
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.274",
4
+ "version": "4.0.0-beta.275",
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
@@ -304,7 +304,7 @@ class MelCloud extends EventEmitter {
304
304
  await Promise.all([button1.click(), page.waitForNavigation({ waitUntil: 'networkidle2', timeout: 10000 })]);
305
305
 
306
306
  // 4. Czekamy na przekierowanie z 'code' w URL
307
- await page.waitForNavigation({ waitUntil: 'networkidle2', timeout: 20000 });
307
+ //await page.waitForNavigation({ waitUntil: 'networkidle2', timeout: 20000 });
308
308
  const currentUrl = page.url();
309
309
  if (currentUrl.includes('code=')) {
310
310
  const code = new URL(currentUrl).searchParams.get('code');