homebridge-melcloud-control 4.0.0-beta.204 → 4.0.0-beta.205
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/deviceata.js +1 -1
- package/src/melcloud.js +0 -1
- package/src/melcloudata.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.
|
|
4
|
+
"version": "4.0.0-beta.205",
|
|
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/deviceata.js
CHANGED
|
@@ -18,7 +18,7 @@ class DeviceAta extends EventEmitter {
|
|
|
18
18
|
//account config
|
|
19
19
|
this.account = account;
|
|
20
20
|
this.device = device;
|
|
21
|
-
this.accountType = account.
|
|
21
|
+
this.accountType = account.type;
|
|
22
22
|
this.displayMode = device.displayMode;
|
|
23
23
|
this.temperatureSensor = device.temperatureSensor || false;
|
|
24
24
|
this.temperatureSensorOutdoor = device.temperatureSensorOutdoor || false;
|
package/src/melcloud.js
CHANGED
|
@@ -400,7 +400,6 @@ class MelCloud extends EventEmitter {
|
|
|
400
400
|
if (!refresh) this.emit('success', `Connect to MELCloud Home Success`);
|
|
401
401
|
|
|
402
402
|
return accountInfo;
|
|
403
|
-
|
|
404
403
|
} catch (error) {
|
|
405
404
|
if (error.message.includes('libnspr4.so') || error.message.includes('Failed to launch the browser process')) {
|
|
406
405
|
const inDocker = this.isRunningInDocker();
|
package/src/melcloudata.js
CHANGED
|
@@ -7,7 +7,7 @@ import { ApiUrls, ApiUrlsHome, AirConditioner } from './constants.js';
|
|
|
7
7
|
class MelCloudAta extends EventEmitter {
|
|
8
8
|
constructor(account, device, devicesFile, defaultTempsFile) {
|
|
9
9
|
super();
|
|
10
|
-
this.accountType = account.
|
|
10
|
+
this.accountType = account.type
|
|
11
11
|
this.deviceId = device.id;
|
|
12
12
|
this.logWarn = device.log?.warn;
|
|
13
13
|
this.logDebug = device.log?.debug;
|