homebridge-melcloud-control 2.3.0-beta.21 → 2.3.0-beta.23

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/CHANGELOG.md CHANGED
@@ -26,7 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
26
26
  ## Changes
27
27
 
28
28
  - removed from config.json `ataDisableAutoMode`, `ataDisableHeatMode`, `ataAutoHeatMode`
29
- - added to config.json `ataHeatDryFanMode`, `ataDisableAutoMode`
29
+ - added to config.json `ataHeatDryFanMode`, `ataAutoDryFanMode`
30
30
  - added [#132](https://github.com/grzegorz914/homebridge-melcloud-control/issues/132)
31
31
  - cleanup
32
32
  - config schema updated
@@ -227,27 +227,6 @@
227
227
  "description": "Select main control mode.",
228
228
  "required": true
229
229
  },
230
- "ataTemperatureSensor": {
231
- "title": "Temperature Sensor Room",
232
- "type": "boolean",
233
- "default": false,
234
- "description": "This enable extra room temperature sensor to use with automations in HomeKit app.",
235
- "required": false
236
- },
237
- "ataTemperatureSensorOutdoor": {
238
- "title": "Temperature Sensor Outdoor",
239
- "type": "boolean",
240
- "default": false,
241
- "description": "This enable extra outdoor temperature sensor to use with automations in HomeKit app.",
242
- "required": false
243
- },
244
- "ataPresets": {
245
- "title": "Presets",
246
- "type": "boolean",
247
- "default": false,
248
- "description": "This enable extra buttons for configured presets and display it in HomeKit app.",
249
- "required": false
250
- },
251
230
  "ataHeatDryFanMode": {
252
231
  "title": "Heat Mode",
253
232
  "type": "integer",
@@ -318,6 +297,27 @@
318
297
  "description": "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.",
319
298
  "required": true
320
299
  },
300
+ "ataPresets": {
301
+ "title": "Presets",
302
+ "type": "boolean",
303
+ "default": false,
304
+ "description": "This enable extra buttons for configured presets and display it in HomeKit app.",
305
+ "required": false
306
+ },
307
+ "ataTemperatureSensor": {
308
+ "title": "Room",
309
+ "type": "boolean",
310
+ "default": false,
311
+ "description": "This enable extra room temperature sensor to use with automations in HomeKit app.",
312
+ "required": false
313
+ },
314
+ "ataTemperatureSensorOutdoor": {
315
+ "title": "Outdoor",
316
+ "type": "boolean",
317
+ "default": false,
318
+ "description": "This enable extra outdoor temperature sensor to use with automations in HomeKit app.",
319
+ "required": false
320
+ },
321
321
  "ataButtons": {
322
322
  "title": "Button / Sensor",
323
323
  "type": "array",
@@ -1394,9 +1394,9 @@
1394
1394
  "title": "Air Conditioner",
1395
1395
  "items": [
1396
1396
  "accounts[].ataDisplayMode",
1397
- "accounts[].ataPresets",
1398
1397
  "accounts[].ataHeatDryFanMode",
1399
1398
  "accounts[].ataAutoDryFanMode",
1399
+ "accounts[].ataPresets",
1400
1400
  {
1401
1401
  "key": "accounts[]",
1402
1402
  "type": "section",
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.21",
4
+ "version": "2.3.0-beta.23",
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
@@ -655,8 +655,8 @@ class DeviceAta extends EventEmitter {
655
655
  this.melCloudService.getCharacteristic(Characteristic.TargetHeaterCoolerState)
656
656
  .setProps({
657
657
  minValue: this.operationModeSetPropsMinValue,
658
- maxValue: this.operationModeSetPropsMaxValue
659
- //validValues: this.operationModeSetPropsValidValues
658
+ maxValue: this.operationModeSetPropsMaxValue,
659
+ validValues: this.operationModeSetPropsValidValues
660
660
  })
661
661
  .onGet(async () => {
662
662
  const value = this.targetOperationMode; //1 = HEAT, 2 = DRY 3 = COOL, 7 = FAN, 8 = AUTO