homebridge-melcloud-control 4.2.3-beta.24 → 4.2.3-beta.26
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 -2
- package/src/melcloudhome.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.2.3-beta.
|
|
4
|
+
"version": "4.2.3-beta.26",
|
|
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
package/src/melcloudhome.js
CHANGED
|
@@ -176,8 +176,8 @@ class MelCloud extends EventEmitter {
|
|
|
176
176
|
return devicesList;
|
|
177
177
|
} catch (error) {
|
|
178
178
|
if (error.response?.status === 401) {
|
|
179
|
-
await connect();
|
|
180
179
|
if (this.logWarn) this.emit('warn', 'Check devices list not possible, cookies expired, trying to get new.');
|
|
180
|
+
await this.connect();
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
|