homebridge-melcloud-control 4.0.0-beta.266 → 4.0.0-beta.267

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.266",
4
+ "version": "4.0.0-beta.267",
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
@@ -310,8 +310,8 @@ class MelCloud extends EventEmitter {
310
310
 
311
311
  // 3. Wypełnij login i hasło
312
312
  await page.waitForSelector('input[name="username"]', { timeout: 5000 });
313
- await page.type('input[name="username"]', user, { delay: 50 });
314
- await page.type('input[name="password"]', passwd, { delay: 50 });
313
+ await page.type('input[name="username"]', this.user, { delay: 50 });
314
+ await page.type('input[name="password"]', this.passwd, { delay: 50 });
315
315
 
316
316
  const submitBtn = await page.$('input[type="submit"]');
317
317
  await submitBtn?.click();