homebridge-melcloud-control 2.3.0-beta.26 → 2.3.0-beta.28

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/README.md CHANGED
@@ -48,7 +48,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
48
48
  * Swing mode `AUTO/SWING`.
49
49
  * Physical lock controls `LOCK/UNLOCK`.
50
50
  * Temperature display unit `°F/°C`.
51
- * Assign operating mode for `HEAT/COOL/AUTO`.
51
+ * Assign operation mode for `HEAT/COOL/AUTO`.
52
52
  * Thermostat:
53
53
  * Power `ON/OFF`.
54
54
  * Operating mode `POWER OFF/HEAT/COOL/AUTO`.
@@ -176,10 +176,10 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
176
176
  | `user` | Here set the MELCloud username. |
177
177
  | `passwd` | Here set the MELCloud password. |
178
178
  | `language` | Here select the MELCloud language. |
179
- | `ataDisplayMode` | Here select main control mode `Heater/Cooler`, `Thermostat`. |
180
- | `ataHeatDryFanMode` | Here select operation mode for `Heat`, if selected `Heat` and the mode is not supported by device then will be disabled, in other cases will use selected mode. |
181
- | `ataCoolDryFanMode` | Here select operation mode for `Cool`, if selected `Cool` and the mode is not supported by device then will be disabled, in other cases will use selected mode. |
182
- | `ataAutoDryFanMode` | Here select operation mode for `Auto`, if selected `Auto` and the mode is not supported by device then will be disabled, in other cases will use selected mode. |
179
+ | `ataDisplayMode` | Here select device control mode `Heater/Cooler`, `Thermostat`. |
180
+ | `ataHeatDryFanMode` | Here select operation mode for `Heat`, if the mode is not supported then will be disabled. |
181
+ | `ataCoolDryFanMode` | Here select operation mode for `Cool`, if the mode is not supported then will be disabled. |
182
+ | `ataAutoDryFanMode` | Here select operation mode for `Auto`, if the mode is not supported then will be disabled. |
183
183
  | `ataTemperatureSensor` | This enable extra `Room` temperature sensors to use with automations in HomeKit app. |
184
184
  | `ataTemperatureSensorOutdoor` | This enable extra `Outdoor` temperature sensors to use with automations in HomeKit app. |
185
185
  | `ataPresets` | This enable extra buttons for configured presets and display it in HomeKit app. |
@@ -259,7 +259,7 @@
259
259
  ]
260
260
  }
261
261
  ],
262
- "description": "Select operation mode for Heat, if selected Heat and the mode is not supported by device then will be disabled, in other cases will use selected mode.",
262
+ "description": "Select operation mode for Heat, if the mode is not supported then will be disabled.",
263
263
  "required": true
264
264
  },
265
265
  "ataCoolDryFanMode": {
@@ -294,7 +294,7 @@
294
294
  ]
295
295
  }
296
296
  ],
297
- "description": "Select operation mode for Heat, if selected Heat and the mode is not supported by device then will be disabled, in other cases will use selected mode.",
297
+ "description": "Select operation mode for Cool, if selected mode is not supported then will be disabled.",
298
298
  "required": true
299
299
  },
300
300
  "ataAutoDryFanMode": {
@@ -329,7 +329,7 @@
329
329
  ]
330
330
  }
331
331
  ],
332
- "description": "Select operation mode for Auto, if selected Auto and the mode is not supported by device then will be disabled, in other cases will use selected mode.",
332
+ "description": "Select operation mode for Auto, if mode is not supported then will be disabled.",
333
333
  "required": true
334
334
  },
335
335
  "ataPresets": {
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.26",
4
+ "version": "2.3.0-beta.28",
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
@@ -718,7 +718,7 @@ class DeviceAta extends EventEmitter {
718
718
  const swingFunction = this.swingFunction;
719
719
  const hasOutdoorTemperature = this.hasOutdoorTemperature;
720
720
  const heatDryFanMode = [deviceState.OperationMode, 1, modelSupportsDry ? 2 : deviceState.OperationMode, 7][this.heatDryFanMode]; //NONE, HEAT - 1, DRY - 2, FAN - 7
721
- const coolDryFanMode = [deviceState.OperationMode, 3, modelSupportsDry ? 2 : deviceState.OperationMode, 7][this.heatDryFanMode]; //NONE, COOL - 1, DRY - 2, FAN - 7
721
+ const coolDryFanMode = [deviceState.OperationMode, 3, modelSupportsDry ? 2 : deviceState.OperationMode, 7][this.coolDryFanMode]; //NONE, COOL - 1, DRY - 2, FAN - 7
722
722
  const autoDryFanMode = [deviceState.OperationMode, 8, modelSupportsDry ? 2 : deviceState.OperationMode, 7][this.autoDryFanMode]; //NONE, AUTO - 8, DRY - 2, FAN - 7
723
723
  const serviceName = `${deviceTypeText} ${accessoryName}`;
724
724