homebridge-melcloud-control 4.0.0-beta.489 → 4.0.0-beta.490
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.
- package/package.json +1 -1
- package/src/melcloud.js +0 -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.
|
|
4
|
+
"version": "4.0.0-beta.490",
|
|
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
|
@@ -351,7 +351,6 @@ class MelCloud extends EventEmitter {
|
|
|
351
351
|
this.emit('warn', `Test 5`);
|
|
352
352
|
loginBtn = await page.waitForFunction(() => {
|
|
353
353
|
const btns = Array.from(document.querySelectorAll('button.btn--blue'));
|
|
354
|
-
this.emit('warn', `Test 5.1 ${btns}`);
|
|
355
354
|
return btns.find(b => ['Zaloguj', 'Sign In', 'Login'].includes(b.textContent.trim()));
|
|
356
355
|
}, { timeout: 5000 }); // max 5s czekania
|
|
357
356
|
} catch {
|