homebridge-melcloud-control 4.0.0-beta.550 → 4.0.0-beta.551

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.550",
4
+ "version": "4.0.0-beta.551",
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
@@ -415,7 +415,7 @@ class MelCloud extends EventEmitter {
415
415
  c2 = cookies.find(c => c.name === '__Secure-monitorandcontrolC2')?.value || c2;
416
416
 
417
417
  const cookies1 = await page.cookies();
418
- this.emit('warn', `cookies ${JSON.stringify(cookies1, null, 2)}`);
418
+ this.emit('warn', `cookies ${JSON.stringify(cookies, null, 2)}`);
419
419
 
420
420
  if (!c1 || !c2) await new Promise(r => setTimeout(r, 500));
421
421
  }