homebridge-melcloud-control 4.3.16-beta.6 → 4.3.16-beta.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/deviceata.js +4 -4
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.16-beta.6",
4
+ "version": "4.3.16-beta.7",
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
@@ -746,7 +746,7 @@ class DeviceAta extends EventEmitter {
746
746
  const value = this.accessory.roomTemperature;
747
747
  return value;
748
748
  });
749
- frostProtectionControlService.getCharacteristic(Characteristic.CoolingThresholdTemperature)
749
+ frostProtectionControlService.getCharacteristic(Characteristic.CoolingThresholdTemperature) //frost max
750
750
  .setProps({
751
751
  minValue: 6,
752
752
  maxValue: 16,
@@ -759,13 +759,13 @@ class DeviceAta extends EventEmitter {
759
759
  .onSet(async (value) => {
760
760
  try {
761
761
  deviceData.FrostProtection.Max = value;
762
- if (this.logInfo) this.emit('info', `Set frost protection min. temperature: ${value}${this.accessory.temperatureUnit}`);
762
+ if (this.logInfo) this.emit('info', `Set frost protection max. temperature: ${value}${this.accessory.temperatureUnit}`);
763
763
  await this.melCloudAta.send(this.accountType, this.displayType, deviceData, 'frostprotection');
764
764
  } catch (error) {
765
- if (this.logWarn) this.emit('warn', `Set frost protection min. temperature error: ${error}`);
765
+ if (this.logWarn) this.emit('warn', `Set frost protection max. temperature error: ${error}`);
766
766
  };
767
767
  });
768
- frostProtectionControlService.getCharacteristic(Characteristic.HeatingThresholdTemperature)
768
+ frostProtectionControlService.getCharacteristic(Characteristic.HeatingThresholdTemperature) //frost min
769
769
  .setProps({
770
770
  minValue: 4,
771
771
  maxValue: 14,