homebridge-melcloud-control 4.1.2-beta.24 → 4.1.2-beta.26

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.
@@ -423,7 +423,7 @@
423
423
  }
424
424
  },
425
425
  "scheduleSensor": {
426
- "title": "Shedule",
426
+ "title": "Schedule",
427
427
  "type": "boolean",
428
428
  "default": false,
429
429
  "description": "This enable extra schedule sensor to use with automations in HomeKit app.",
@@ -265,7 +265,7 @@
265
265
  buttonsSensors: []
266
266
  };
267
267
 
268
- if (!devicesInConfig.some(device => String(device.id) === deviceObj.id)) {
268
+ if (!devicesInConfig.some(dev => String(dev.id) === deviceObj.id)) {
269
269
  devicesInConfig.push(deviceObj);
270
270
  newArr.push(deviceObj);
271
271
  }
@@ -281,8 +281,8 @@
281
281
  namePrefix: false
282
282
  };
283
283
 
284
- const deviceInConfig = devicesInConfig.find(device => String(device.id) === deviceObj.id);
285
- if (deviceInConfig && !deviceInConfig.presets.some(preset => String(preset.id) === presetObj.id)) {
284
+ const deviceInConfig = devicesInConfig.find(dev => String(dev.id) === deviceObj.id);
285
+ if (deviceInConfig && !deviceInConfig.presets.some(pres => String(pres.id) === presetObj.id)) {
286
286
  deviceInConfig.presets.push(presetObj);
287
287
  newPresets.push(presetObj);
288
288
  }
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.2-beta.24",
4
+ "version": "4.1.2-beta.26",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",