homebridge-melcloud-control 2.3.0-beta.7 → 2.3.0-beta.9

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/index.js CHANGED
@@ -218,9 +218,9 @@ module.exports = (api) => {
218
218
  this.setProps({
219
219
  format: Formats.UINT8,
220
220
  minValue: 0,
221
- maxValue: 3,
221
+ maxValue: 2,
222
222
  minStep: 1,
223
- validValues: [0, 1, 2, 3],
223
+ validValues: [0, 1, 2],
224
224
  perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE]
225
225
  });
226
226
  this.value = this.getDefaultValue();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "2.3.0-beta.7",
4
+ "version": "2.3.0-beta.9",
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/deviceata.js CHANGED
@@ -632,7 +632,7 @@ class DeviceAta extends EventEmitter {
632
632
  case 0: //Heater Cooler
633
633
  const debug = this.enableDebugMode ? this.emit('debug', `Prepare heather/cooler service`) : false;
634
634
  this.melCloudService = accessory.addService(Service.HeaterCooler, serviceName, `HeaterCooler ${deviceId}`);
635
- this.melCloudService.removeCharacteristic(Characteristic.CustomTargetHeaterCoolerState);
635
+ this.melCloudService.removeCharacteristic(Characteristic.TargetHeaterCoolerState);
636
636
  this.melCloudService.addCharacteristic(Characteristic.CustomTargetHeaterCoolerState);
637
637
  this.melCloudService.getCharacteristic(Characteristic.Active)
638
638
  .onGet(async () => {