homebridge-melcloud-control 4.2.3-beta.28 → 4.2.3-beta.29

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.2.3-beta.28",
4
+ "version": "4.2.3-beta.29",
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/constants.js CHANGED
@@ -37,7 +37,7 @@ export const ApiUrlsHome = {
37
37
  PostProtectionFrost: "https://melcloudhome.com/ata/deviceid/frostprotection",
38
38
  PostProtectionOverheat: "https://melcloudhome.com/ata/deviceid/overheatprotection",
39
39
  PutDeviceSettings: "https://melcloudhome.com/dashboard",
40
- PutScheduleEnable: "https://melcloudhome.com/ata/deviceid/schedule",
40
+ PutScheduleEnabled: "https://melcloudhome.com/ata/deviceid/schedule",
41
41
  }
42
42
  };
43
43
 
@@ -220,7 +220,7 @@ class MelCloudAta extends EventEmitter {
220
220
  payload = { enabled: deviceData.ScheduleEnabled };
221
221
  method = 'PUT';
222
222
  path = ApiUrlsHome.PutScheduleEnabled.replace('deviceid', deviceData.DeviceID);
223
- referer = ApiUrlsHome.Referers.PutDeviceSettings.replace('deviceid', deviceData.DeviceID);
223
+ referer = ApiUrlsHome.Referers.PutScheduleEnabled.replace('deviceid', deviceData.DeviceID);
224
224
  break;
225
225
  default:
226
226
  payload = {