homebridge-melcloud-control 4.1.2 → 4.1.3-beta.0

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.2",
4
+ "version": "4.1.3-beta.0",
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/deviceatw.js CHANGED
@@ -1378,7 +1378,7 @@ class DeviceAtw extends EventEmitter {
1378
1378
 
1379
1379
  //keys
1380
1380
  const presetsKey = this.accountType === 'melcloud' ? 'Presets' : 'Schedule';
1381
- const presetsIdKey = accountType === 'melcloud' ? 'ID' : 'Id';
1381
+ const presetsIdKey = this.accountType === 'melcloud' ? 'ID' : 'Id';
1382
1382
  const tempStepKey = this.accountType === 'melcloud' ? 'TemperatureIncrement' : 'HasHalfDegreeIncrements';
1383
1383
  const errorKey = this.accountType === 'melcloud' ? 'HasError' : 'IsInError';
1384
1384
 
package/src/deviceerv.js CHANGED
@@ -923,7 +923,7 @@ class DeviceErv extends EventEmitter {
923
923
 
924
924
  //keys
925
925
  const presetsKey = this.accountType === 'melcloud' ? 'Presets' : 'Schedule';
926
- const presetsIdKey = accountType === 'melcloud' ? 'ID' : 'Id';
926
+ const presetsIdKey = this.accountType === 'melcloud' ? 'ID' : 'Id';
927
927
  const fanKey = this.accountType === 'melcloud' ? 'FanSpeed' : 'SetFanSpeed';
928
928
  const tempStepKey = this.accountType === 'melcloud' ? 'TemperatureIncrement' : 'HasHalfDegreeIncrements';
929
929
  const errorKey = this.accountType === 'melcloud' ? 'HasError' : 'IsInError';