homebridge-melcloud-control 4.0.0-beta.13 → 4.0.0-beta.14

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 +0 -10
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.13",
4
+ "version": "4.0.0-beta.14",
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
@@ -262,16 +262,6 @@ class MelCloud extends EventEmitter {
262
262
  throw new Error('❌ Could not find login button on the page.');
263
263
  }
264
264
 
265
- // Opcjonalnie obsługa "Stay signed in?"
266
- const staySignedInSelector = 'input[name="rememberDevice"], input[type="submit"]';
267
- if (await page.$(staySignedInSelector)) {
268
- console.log('Handling "Stay signed in?" screen...');
269
- await Promise.all([
270
- page.click(staySignedInSelector),
271
- page.waitForNavigation({ waitUntil: 'networkidle2', timeout: 20000 })
272
- ]);
273
- }
274
-
275
265
  // Monitorowanie requestów i oczekiwanie na cookies C1 i C2
276
266
  let c1 = null, c2 = null;
277
267
  page.on('response', async response => {