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.
@@ -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.contextKey);
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.contextKey;
110
- const useFahrenheit = accountInfo.useFahrenheit;
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.48",
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",