homebridge-melcloud-control 3.1.0-beta.7 → 3.1.0-beta.8
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/config.schema.json +17 -17
- package/homebridge-ui/public/index.html +3 -3
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -363,6 +363,20 @@
|
|
|
363
363
|
"description": "Select the operating mode for Auto, if this mode is not supported, it will be disabled.",
|
|
364
364
|
"required": true
|
|
365
365
|
},
|
|
366
|
+
"temperatureSensor": {
|
|
367
|
+
"title": "Room",
|
|
368
|
+
"type": "boolean",
|
|
369
|
+
"default": false,
|
|
370
|
+
"description": "This enable extra room temperature sensor to use with automations in HomeKit app.",
|
|
371
|
+
"required": false
|
|
372
|
+
},
|
|
373
|
+
"temperatureSensorOutdoor": {
|
|
374
|
+
"title": "Outdoor",
|
|
375
|
+
"type": "boolean",
|
|
376
|
+
"default": false,
|
|
377
|
+
"description": "This enable extra outdoor temperature sensor to use with automations in HomeKit app.",
|
|
378
|
+
"required": false
|
|
379
|
+
},
|
|
366
380
|
"presets": {
|
|
367
381
|
"title": "Presets",
|
|
368
382
|
"type": "array",
|
|
@@ -441,20 +455,6 @@
|
|
|
441
455
|
"functionBody": "const devicePresets = model.accounts[arrayIndices].devicesAta[arrayIndices]?.presets || []; return devicePresets.length > 0 && devicePresets.every(preset => preset.id != null && preset.id !== '');"
|
|
442
456
|
}
|
|
443
457
|
},
|
|
444
|
-
"temperatureSensor": {
|
|
445
|
-
"title": "Room",
|
|
446
|
-
"type": "boolean",
|
|
447
|
-
"default": false,
|
|
448
|
-
"description": "This enable extra room temperature sensor to use with automations in HomeKit app.",
|
|
449
|
-
"required": false
|
|
450
|
-
},
|
|
451
|
-
"temperatureSensorOutdoor": {
|
|
452
|
-
"title": "Outdoor",
|
|
453
|
-
"type": "boolean",
|
|
454
|
-
"default": false,
|
|
455
|
-
"description": "This enable extra outdoor temperature sensor to use with automations in HomeKit app.",
|
|
456
|
-
"required": false
|
|
457
|
-
},
|
|
458
458
|
"buttonsSensors": {
|
|
459
459
|
"title": "Button / Sensor",
|
|
460
460
|
"type": "array",
|
|
@@ -745,7 +745,7 @@
|
|
|
745
745
|
}
|
|
746
746
|
},
|
|
747
747
|
"condition": {
|
|
748
|
-
"functionBody": "const buttons = model.accounts[arrayIndices].devicesAta[arrayIndices]?.buttons || []; return buttons.length > 0 && buttons.every(
|
|
748
|
+
"functionBody": "const buttons = model.accounts[arrayIndices].devicesAta[arrayIndices]?.buttons || []; return buttons.length > 0 && buttons.every(button => button.name != null && button.name !== '');"
|
|
749
749
|
}
|
|
750
750
|
}
|
|
751
751
|
}
|
|
@@ -1162,7 +1162,7 @@
|
|
|
1162
1162
|
}
|
|
1163
1163
|
},
|
|
1164
1164
|
"condition": {
|
|
1165
|
-
"functionBody": "const buttons = model.accounts[arrayIndices].devicesAtw[arrayIndices]?.buttons || []; return buttons.length > 0 && buttons.every(
|
|
1165
|
+
"functionBody": "const buttons = model.accounts[arrayIndices].devicesAtw[arrayIndices]?.buttons || []; return buttons.length > 0 && buttons.every(button => button.name != null && button.name !== '');"
|
|
1166
1166
|
}
|
|
1167
1167
|
}
|
|
1168
1168
|
}
|
|
@@ -1489,7 +1489,7 @@
|
|
|
1489
1489
|
}
|
|
1490
1490
|
},
|
|
1491
1491
|
"condition": {
|
|
1492
|
-
"functionBody": "const buttons = model.accounts[arrayIndices].devicesErv[arrayIndices]?.buttons || []; return buttons.length > 0 && buttons.every(
|
|
1492
|
+
"functionBody": "const buttons = model.accounts[arrayIndices].devicesErv[arrayIndices]?.buttons || []; return buttons.length > 0 && buttons.every(button => button.name != null && button.name !== '');"
|
|
1493
1493
|
}
|
|
1494
1494
|
}
|
|
1495
1495
|
}
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
const presetId = preset.ID;
|
|
224
224
|
const presetName = preset.NumberDescription;
|
|
225
225
|
|
|
226
|
-
preset.
|
|
226
|
+
preset.id = presetId;
|
|
227
227
|
preset.name = presetName;
|
|
228
228
|
preset.displayType == 0;
|
|
229
229
|
preset.namePrefix = false;
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
const presetId = preset.ID;
|
|
281
281
|
const presetName = preset.NumberDescription;
|
|
282
282
|
|
|
283
|
-
preset.
|
|
283
|
+
preset.id = presetId;
|
|
284
284
|
preset.name = presetName;
|
|
285
285
|
preset.displayType == 0;
|
|
286
286
|
preset.namePrefix = false;
|
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
const presetId = preset.ID;
|
|
332
332
|
const presetName = preset.NumberDescription;
|
|
333
333
|
|
|
334
|
-
preset.
|
|
334
|
+
preset.id = presetId;
|
|
335
335
|
preset.name = presetName;
|
|
336
336
|
preset.displayType == 0;
|
|
337
337
|
preset.namePrefix = false;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "3.1.0-beta.
|
|
4
|
+
"version": "3.1.0-beta.8",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|