homebridge-melcloud-control 4.0.0-beta.23 → 4.0.0-beta.24
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 +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.
|
|
4
|
+
"version": "4.0.0-beta.24",
|
|
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
|
@@ -289,10 +289,10 @@ class MelCloud extends EventEmitter {
|
|
|
289
289
|
]);
|
|
290
290
|
|
|
291
291
|
const cookies = await page.cookies();
|
|
292
|
-
this.emit('warn',
|
|
292
|
+
this.emit('warn', JSON.stringify(page, null, 2));
|
|
293
293
|
|
|
294
294
|
// Zapis do pliku
|
|
295
|
-
await this.functions.saveData(this.cookiesFile,
|
|
295
|
+
await this.functions.saveData(this.cookiesFile, page);
|
|
296
296
|
|
|
297
297
|
this.emit('warn', 'Login successful.');
|
|
298
298
|
return;
|