homebridge-melcloud-control 4.1.3-beta.22 → 4.1.3-beta.23

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.1.3-beta.22",
4
+ "version": "4.1.3-beta.23",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -217,9 +217,7 @@ class MelCloudAta extends EventEmitter {
217
217
  break;
218
218
  case 'holidaymode':
219
219
  settings = {
220
- data: {
221
- enabled: deviceData.HolidayMode.Enabled
222
- }
220
+ data: { enabled: deviceData.HolidayMode.Enabled, startDate: deviceData.HolidayMode.StartDate, endDate: deviceData.HolidayMode.EndDate, units: { "ATA": [deviceData.DeviceID] } }
223
221
  };
224
222
  method = 'POST';
225
223
  path = ApiUrlsHome.PostHolidayMode;