homebridge-melcloud-control 4.3.3-beta.23 → 4.3.3-beta.24

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.
@@ -344,14 +344,14 @@
344
344
  schedules.forEach((schedule, index) => {
345
345
  const scheduleId = String(schedule.Id);
346
346
  if (!scheduleIds.has(scheduleId)) {
347
- const presetObj = {
347
+ const scheduleObj = {
348
348
  id: scheduleId,
349
349
  displayType: 0,
350
350
  name: `Schedule ${index}`,
351
351
  namePrefix: false
352
352
  };
353
- schedulesInConfig.push(presetObj);
354
- newPresets.push(presetObj);
353
+ schedulesInConfig.push(scheduleObj);
354
+ newSchedules.push(scheduleObj);
355
355
  scheduleIds.add(scheduleId);
356
356
  addedNewSchedule = true;
357
357
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.3.3-beta.23",
4
+ "version": "4.3.3-beta.24",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",