homebridge-melcloud-control 4.0.0-beta.48 → 4.0.0-beta.49
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/homebridge-ui/server.js +1 -1
- package/index.js +2 -2
- package/package.json +1 -1
package/homebridge-ui/server.js
CHANGED
|
@@ -25,7 +25,7 @@ class PluginUiServer extends HomebridgePluginUiServer {
|
|
|
25
25
|
|
|
26
26
|
try {
|
|
27
27
|
const accountInfo = await melCloud.connect();
|
|
28
|
-
const devices = await melCloud.checkDevicesList(accountInfo.
|
|
28
|
+
const devices = await melCloud.checkDevicesList(accountInfo.ContextKey);
|
|
29
29
|
return devices;
|
|
30
30
|
} catch (error) {
|
|
31
31
|
throw new Error(`MELCloud error: ${error.message ?? error}.`);
|
package/index.js
CHANGED
|
@@ -106,8 +106,8 @@ class MelCloudPlatform {
|
|
|
106
106
|
return;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
const contextKey = accountInfo.
|
|
110
|
-
const useFahrenheit = accountInfo.
|
|
109
|
+
const contextKey = accountInfo.ContextKey;
|
|
110
|
+
const useFahrenheit = accountInfo.UseFahrenheit;
|
|
111
111
|
|
|
112
112
|
if (!contextKey) {
|
|
113
113
|
return;
|
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.49",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|