homebridge-melcloud-control 4.5.9-beta.0 → 4.5.9-beta.2
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 +75 -356
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -250,15 +250,8 @@
|
|
|
250
250
|
"type": "integer",
|
|
251
251
|
"minimum": 0,
|
|
252
252
|
"maximum": 2,
|
|
253
|
-
"default": 0,
|
|
254
253
|
"description": "Select accessory control type displayed in HomeKit.",
|
|
255
254
|
"anyOf": [
|
|
256
|
-
{
|
|
257
|
-
"title": "None / Disabled",
|
|
258
|
-
"enum": [
|
|
259
|
-
0
|
|
260
|
-
]
|
|
261
|
-
},
|
|
262
255
|
{
|
|
263
256
|
"title": "Heater / Cooler",
|
|
264
257
|
"enum": [
|
|
@@ -284,15 +277,8 @@
|
|
|
284
277
|
"type": "integer",
|
|
285
278
|
"minimum": 0,
|
|
286
279
|
"maximum": 3,
|
|
287
|
-
"default": 1,
|
|
288
280
|
"description": "Select the operating mode for Heat, work only if mode supported by device.",
|
|
289
281
|
"anyOf": [
|
|
290
|
-
{
|
|
291
|
-
"title": "None / Disabled",
|
|
292
|
-
"enum": [
|
|
293
|
-
0
|
|
294
|
-
]
|
|
295
|
-
},
|
|
296
282
|
{
|
|
297
283
|
"title": "Heat",
|
|
298
284
|
"enum": [
|
|
@@ -318,15 +304,8 @@
|
|
|
318
304
|
"type": "integer",
|
|
319
305
|
"minimum": 0,
|
|
320
306
|
"maximum": 3,
|
|
321
|
-
"default": 1,
|
|
322
307
|
"description": "Select the operating mode for Cool, work only if mode supported by device.",
|
|
323
308
|
"anyOf": [
|
|
324
|
-
{
|
|
325
|
-
"title": "None / Disabled",
|
|
326
|
-
"enum": [
|
|
327
|
-
0
|
|
328
|
-
]
|
|
329
|
-
},
|
|
330
309
|
{
|
|
331
310
|
"title": "Cool",
|
|
332
311
|
"enum": [
|
|
@@ -352,15 +331,8 @@
|
|
|
352
331
|
"type": "integer",
|
|
353
332
|
"minimum": 0,
|
|
354
333
|
"maximum": 3,
|
|
355
|
-
"default": 1,
|
|
356
334
|
"description": "Select the operating mode for Auto, work only if mode supported by device.",
|
|
357
335
|
"anyOf": [
|
|
358
|
-
{
|
|
359
|
-
"title": "None / Disabled",
|
|
360
|
-
"enum": [
|
|
361
|
-
0
|
|
362
|
-
]
|
|
363
|
-
},
|
|
364
336
|
{
|
|
365
337
|
"title": "Auto",
|
|
366
338
|
"enum": [
|
|
@@ -454,15 +426,8 @@
|
|
|
454
426
|
"type": "integer",
|
|
455
427
|
"minimum": 0,
|
|
456
428
|
"maximum": 7,
|
|
457
|
-
"default": 0,
|
|
458
429
|
"description": "Select the characteristic type to be displayed in HomeKit.",
|
|
459
430
|
"anyOf": [
|
|
460
|
-
{
|
|
461
|
-
"title": "None / Disabled",
|
|
462
|
-
"enum": [
|
|
463
|
-
0
|
|
464
|
-
]
|
|
465
|
-
},
|
|
466
431
|
{
|
|
467
432
|
"title": "Motion Sensor",
|
|
468
433
|
"enum": [
|
|
@@ -511,24 +476,15 @@
|
|
|
511
476
|
"title": "Name",
|
|
512
477
|
"type": "string",
|
|
513
478
|
"placeholder": "Preset",
|
|
514
|
-
"description": "Here set Your own name displayed in HomeKit."
|
|
515
|
-
"condition": {
|
|
516
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
|
|
517
|
-
}
|
|
479
|
+
"description": "Here set Your own name displayed in HomeKit."
|
|
518
480
|
},
|
|
519
481
|
"namePrefix": {
|
|
520
482
|
"title": "Prefix",
|
|
521
483
|
"type": "boolean",
|
|
522
484
|
"default": false,
|
|
523
|
-
"description": "Enable the accessory name as a prefix for preset name."
|
|
524
|
-
"condition": {
|
|
525
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
|
|
526
|
-
}
|
|
485
|
+
"description": "Enable the accessory name as a prefix for preset name."
|
|
527
486
|
}
|
|
528
|
-
}
|
|
529
|
-
"required": [
|
|
530
|
-
"displayType"
|
|
531
|
-
]
|
|
487
|
+
}
|
|
532
488
|
}
|
|
533
489
|
},
|
|
534
490
|
"schedules": {
|
|
@@ -547,15 +503,8 @@
|
|
|
547
503
|
"type": "integer",
|
|
548
504
|
"minimum": 0,
|
|
549
505
|
"maximum": 7,
|
|
550
|
-
"default": 0,
|
|
551
506
|
"description": "Select the characteristic type to be displayed in HomeKit.",
|
|
552
507
|
"anyOf": [
|
|
553
|
-
{
|
|
554
|
-
"title": "None / Disabled",
|
|
555
|
-
"enum": [
|
|
556
|
-
0
|
|
557
|
-
]
|
|
558
|
-
},
|
|
559
508
|
{
|
|
560
509
|
"title": "Motion Sensor",
|
|
561
510
|
"enum": [
|
|
@@ -604,10 +553,7 @@
|
|
|
604
553
|
"title": "Name",
|
|
605
554
|
"type": "string",
|
|
606
555
|
"placeholder": "Schedule",
|
|
607
|
-
"description": "Here set Your own name displayed in HomeKit."
|
|
608
|
-
"condition": {
|
|
609
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].schedules[arrayIndices[2]].displayType > 0;"
|
|
610
|
-
}
|
|
556
|
+
"description": "Here set Your own name displayed in HomeKit."
|
|
611
557
|
},
|
|
612
558
|
"namePrefix": {
|
|
613
559
|
"title": "Prefix",
|
|
@@ -618,10 +564,7 @@
|
|
|
618
564
|
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].schedules[arrayIndices[2]].displayType > 0;"
|
|
619
565
|
}
|
|
620
566
|
}
|
|
621
|
-
}
|
|
622
|
-
"required": [
|
|
623
|
-
"displayType"
|
|
624
|
-
]
|
|
567
|
+
}
|
|
625
568
|
}
|
|
626
569
|
},
|
|
627
570
|
"scenes": {
|
|
@@ -640,15 +583,8 @@
|
|
|
640
583
|
"type": "integer",
|
|
641
584
|
"minimum": 0,
|
|
642
585
|
"maximum": 7,
|
|
643
|
-
"default": 0,
|
|
644
586
|
"description": "Select the characteristic type to be displayed in HomeKit.",
|
|
645
587
|
"anyOf": [
|
|
646
|
-
{
|
|
647
|
-
"title": "None / Disabled",
|
|
648
|
-
"enum": [
|
|
649
|
-
0
|
|
650
|
-
]
|
|
651
|
-
},
|
|
652
588
|
{
|
|
653
589
|
"title": "Motion Sensor",
|
|
654
590
|
"enum": [
|
|
@@ -697,10 +633,7 @@
|
|
|
697
633
|
"title": "Name",
|
|
698
634
|
"type": "string",
|
|
699
635
|
"placeholder": "Scene",
|
|
700
|
-
"description": "Here set Your own name displayed in HomeKit."
|
|
701
|
-
"condition": {
|
|
702
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
|
|
703
|
-
}
|
|
636
|
+
"description": "Here set Your own name displayed in HomeKit."
|
|
704
637
|
},
|
|
705
638
|
"namePrefix": {
|
|
706
639
|
"title": "Prefix",
|
|
@@ -711,10 +644,7 @@
|
|
|
711
644
|
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
|
|
712
645
|
}
|
|
713
646
|
}
|
|
714
|
-
}
|
|
715
|
-
"required": [
|
|
716
|
-
"displayType"
|
|
717
|
-
]
|
|
647
|
+
}
|
|
718
648
|
}
|
|
719
649
|
},
|
|
720
650
|
"buttonsSensors": {
|
|
@@ -728,15 +658,8 @@
|
|
|
728
658
|
"type": "integer",
|
|
729
659
|
"minimum": 0,
|
|
730
660
|
"maximum": 7,
|
|
731
|
-
"default": 0,
|
|
732
661
|
"description": "Select the characteristic type to be displayed in HomeKit.",
|
|
733
662
|
"anyOf": [
|
|
734
|
-
{
|
|
735
|
-
"title": "None / Disabled",
|
|
736
|
-
"enum": [
|
|
737
|
-
0
|
|
738
|
-
]
|
|
739
|
-
},
|
|
740
663
|
{
|
|
741
664
|
"title": "Motion Sensor",
|
|
742
665
|
"enum": [
|
|
@@ -1007,33 +930,18 @@
|
|
|
1007
930
|
"title": "Name",
|
|
1008
931
|
"type": "string",
|
|
1009
932
|
"placeholder": "Button name",
|
|
1010
|
-
"description": "Here set Your own name displayed in HomeKit."
|
|
1011
|
-
"condition": {
|
|
1012
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].buttonsSensors[arrayIndices[2]].displayType > 0;"
|
|
1013
|
-
}
|
|
933
|
+
"description": "Here set Your own name displayed in HomeKit."
|
|
1014
934
|
},
|
|
1015
935
|
"namePrefix": {
|
|
1016
936
|
"title": "Prefix",
|
|
1017
937
|
"type": "boolean",
|
|
1018
938
|
"default": false,
|
|
1019
|
-
"description": "Enable the accessory name as a prefix for button / sensor name."
|
|
1020
|
-
"condition": {
|
|
1021
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].buttonsSensors[arrayIndices[2]].displayType > 0;"
|
|
1022
|
-
}
|
|
939
|
+
"description": "Enable the accessory name as a prefix for button / sensor name."
|
|
1023
940
|
}
|
|
1024
|
-
}
|
|
1025
|
-
"required": [
|
|
1026
|
-
"displayType"
|
|
1027
|
-
]
|
|
941
|
+
}
|
|
1028
942
|
}
|
|
1029
943
|
}
|
|
1030
|
-
}
|
|
1031
|
-
"required": [
|
|
1032
|
-
"displayType",
|
|
1033
|
-
"heatDryFanMode",
|
|
1034
|
-
"coolDryFanMode",
|
|
1035
|
-
"autoDryFanMode"
|
|
1036
|
-
]
|
|
944
|
+
}
|
|
1037
945
|
}
|
|
1038
946
|
},
|
|
1039
947
|
"atwDevices": {
|
|
@@ -1063,15 +971,8 @@
|
|
|
1063
971
|
"type": "integer",
|
|
1064
972
|
"minimum": 0,
|
|
1065
973
|
"maximum": 2,
|
|
1066
|
-
"default": 0,
|
|
1067
974
|
"description": "Select accessory control type displayed in HomeKit.",
|
|
1068
975
|
"anyOf": [
|
|
1069
|
-
{
|
|
1070
|
-
"title": "None / Disabled",
|
|
1071
|
-
"enum": [
|
|
1072
|
-
0
|
|
1073
|
-
]
|
|
1074
|
-
},
|
|
1075
976
|
{
|
|
1076
977
|
"title": "Heater / Cooler",
|
|
1077
978
|
"enum": [
|
|
@@ -1091,15 +992,8 @@
|
|
|
1091
992
|
"type": "integer",
|
|
1092
993
|
"minimum": 0,
|
|
1093
994
|
"maximum": 15,
|
|
1094
|
-
"default": 0,
|
|
1095
995
|
"description": "Select zone to hidde in HomeKit, if present.",
|
|
1096
996
|
"anyOf": [
|
|
1097
|
-
{
|
|
1098
|
-
"title": "None / Disabled",
|
|
1099
|
-
"enum": [
|
|
1100
|
-
0
|
|
1101
|
-
]
|
|
1102
|
-
},
|
|
1103
997
|
{
|
|
1104
998
|
"title": "Heat Pump",
|
|
1105
999
|
"enum": [
|
|
@@ -1298,15 +1192,8 @@
|
|
|
1298
1192
|
"type": "integer",
|
|
1299
1193
|
"minimum": 0,
|
|
1300
1194
|
"maximum": 7,
|
|
1301
|
-
"default": 0,
|
|
1302
1195
|
"description": "Select the characteristic type to be displayed in HomeKit.",
|
|
1303
1196
|
"anyOf": [
|
|
1304
|
-
{
|
|
1305
|
-
"title": "None / Disabled",
|
|
1306
|
-
"enum": [
|
|
1307
|
-
0
|
|
1308
|
-
]
|
|
1309
|
-
},
|
|
1310
1197
|
{
|
|
1311
1198
|
"title": "Motion Sensor",
|
|
1312
1199
|
"enum": [
|
|
@@ -1355,24 +1242,15 @@
|
|
|
1355
1242
|
"title": "Name",
|
|
1356
1243
|
"type": "string",
|
|
1357
1244
|
"placeholder": "Preset",
|
|
1358
|
-
"description": "Here set Your own name displayed in HomeKit."
|
|
1359
|
-
"condition": {
|
|
1360
|
-
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
|
|
1361
|
-
}
|
|
1245
|
+
"description": "Here set Your own name displayed in HomeKit."
|
|
1362
1246
|
},
|
|
1363
1247
|
"namePrefix": {
|
|
1364
1248
|
"title": "Prefix",
|
|
1365
1249
|
"type": "boolean",
|
|
1366
1250
|
"default": false,
|
|
1367
|
-
"description": "Enable the accessory name as a prefix for preset name."
|
|
1368
|
-
"condition": {
|
|
1369
|
-
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
|
|
1370
|
-
}
|
|
1251
|
+
"description": "Enable the accessory name as a prefix for preset name."
|
|
1371
1252
|
}
|
|
1372
|
-
}
|
|
1373
|
-
"required": [
|
|
1374
|
-
"displayType"
|
|
1375
|
-
]
|
|
1253
|
+
}
|
|
1376
1254
|
}
|
|
1377
1255
|
},
|
|
1378
1256
|
"schedules": {
|
|
@@ -1391,15 +1269,8 @@
|
|
|
1391
1269
|
"type": "integer",
|
|
1392
1270
|
"minimum": 0,
|
|
1393
1271
|
"maximum": 7,
|
|
1394
|
-
"default": 0,
|
|
1395
1272
|
"description": "Select the characteristic type to be displayed in HomeKit.",
|
|
1396
1273
|
"anyOf": [
|
|
1397
|
-
{
|
|
1398
|
-
"title": "None / Disabled",
|
|
1399
|
-
"enum": [
|
|
1400
|
-
0
|
|
1401
|
-
]
|
|
1402
|
-
},
|
|
1403
1274
|
{
|
|
1404
1275
|
"title": "Motion Sensor",
|
|
1405
1276
|
"enum": [
|
|
@@ -1448,24 +1319,15 @@
|
|
|
1448
1319
|
"title": "Name",
|
|
1449
1320
|
"type": "string",
|
|
1450
1321
|
"placeholder": "Schedule",
|
|
1451
|
-
"description": "Here set Your own name displayed in HomeKit."
|
|
1452
|
-
"condition": {
|
|
1453
|
-
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].schedules[arrayIndices[2]].displayType > 0;"
|
|
1454
|
-
}
|
|
1322
|
+
"description": "Here set Your own name displayed in HomeKit."
|
|
1455
1323
|
},
|
|
1456
1324
|
"namePrefix": {
|
|
1457
1325
|
"title": "Prefix",
|
|
1458
1326
|
"type": "boolean",
|
|
1459
1327
|
"default": false,
|
|
1460
|
-
"description": "Enable the accessory name as a prefix for schedule name."
|
|
1461
|
-
"condition": {
|
|
1462
|
-
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].schedules[arrayIndices[2]].displayType > 0;"
|
|
1463
|
-
}
|
|
1328
|
+
"description": "Enable the accessory name as a prefix for schedule name."
|
|
1464
1329
|
}
|
|
1465
|
-
}
|
|
1466
|
-
"required": [
|
|
1467
|
-
"displayType"
|
|
1468
|
-
]
|
|
1330
|
+
}
|
|
1469
1331
|
}
|
|
1470
1332
|
},
|
|
1471
1333
|
"scenes": {
|
|
@@ -1484,15 +1346,8 @@
|
|
|
1484
1346
|
"type": "integer",
|
|
1485
1347
|
"minimum": 0,
|
|
1486
1348
|
"maximum": 7,
|
|
1487
|
-
"default": 0,
|
|
1488
1349
|
"description": "Select the characteristic type to be displayed in HomeKit.",
|
|
1489
1350
|
"anyOf": [
|
|
1490
|
-
{
|
|
1491
|
-
"title": "None / Disabled",
|
|
1492
|
-
"enum": [
|
|
1493
|
-
0
|
|
1494
|
-
]
|
|
1495
|
-
},
|
|
1496
1351
|
{
|
|
1497
1352
|
"title": "Motion Sensor",
|
|
1498
1353
|
"enum": [
|
|
@@ -1541,24 +1396,15 @@
|
|
|
1541
1396
|
"title": "Name",
|
|
1542
1397
|
"type": "string",
|
|
1543
1398
|
"placeholder": "Scene",
|
|
1544
|
-
"description": "Here set Your own name displayed in HomeKit."
|
|
1545
|
-
"condition": {
|
|
1546
|
-
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
|
|
1547
|
-
}
|
|
1399
|
+
"description": "Here set Your own name displayed in HomeKit."
|
|
1548
1400
|
},
|
|
1549
1401
|
"namePrefix": {
|
|
1550
1402
|
"title": "Prefix",
|
|
1551
1403
|
"type": "boolean",
|
|
1552
1404
|
"default": false,
|
|
1553
|
-
"description": "Enable the accessory name as a prefix for scene name."
|
|
1554
|
-
"condition": {
|
|
1555
|
-
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
|
|
1556
|
-
}
|
|
1405
|
+
"description": "Enable the accessory name as a prefix for scene name."
|
|
1557
1406
|
}
|
|
1558
|
-
}
|
|
1559
|
-
"required": [
|
|
1560
|
-
"displayType"
|
|
1561
|
-
]
|
|
1407
|
+
}
|
|
1562
1408
|
}
|
|
1563
1409
|
},
|
|
1564
1410
|
"buttonsSensors": {
|
|
@@ -1572,15 +1418,8 @@
|
|
|
1572
1418
|
"type": "integer",
|
|
1573
1419
|
"minimum": 0,
|
|
1574
1420
|
"maximum": 7,
|
|
1575
|
-
"default": 0,
|
|
1576
1421
|
"description": "Select the characteristic type to be displayed in HomeKit.",
|
|
1577
1422
|
"anyOf": [
|
|
1578
|
-
{
|
|
1579
|
-
"title": "None / Disabled",
|
|
1580
|
-
"enum": [
|
|
1581
|
-
0
|
|
1582
|
-
]
|
|
1583
|
-
},
|
|
1584
1423
|
{
|
|
1585
1424
|
"title": "Motion Sensor",
|
|
1586
1425
|
"enum": [
|
|
@@ -1773,31 +1612,18 @@
|
|
|
1773
1612
|
"title": "Name",
|
|
1774
1613
|
"type": "string",
|
|
1775
1614
|
"placeholder": "Button name",
|
|
1776
|
-
"description": "Here set Your own name displayed in HomeKit."
|
|
1777
|
-
"condition": {
|
|
1778
|
-
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].buttonsSensors[arrayIndices[2]].displayType > 0;"
|
|
1779
|
-
}
|
|
1615
|
+
"description": "Here set Your own name displayed in HomeKit."
|
|
1780
1616
|
},
|
|
1781
1617
|
"namePrefix": {
|
|
1782
1618
|
"title": "Prefix",
|
|
1783
1619
|
"type": "boolean",
|
|
1784
1620
|
"default": false,
|
|
1785
|
-
"description": "Enable the accessory name as a prefix for button / sensor name."
|
|
1786
|
-
"condition": {
|
|
1787
|
-
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].buttonsSensors[arrayIndices[2]].displayType > 0;"
|
|
1788
|
-
}
|
|
1621
|
+
"description": "Enable the accessory name as a prefix for button / sensor name."
|
|
1789
1622
|
}
|
|
1790
|
-
}
|
|
1791
|
-
"required": [
|
|
1792
|
-
"displayType"
|
|
1793
|
-
]
|
|
1623
|
+
}
|
|
1794
1624
|
}
|
|
1795
1625
|
}
|
|
1796
|
-
}
|
|
1797
|
-
"required": [
|
|
1798
|
-
"displayType",
|
|
1799
|
-
"hideZone"
|
|
1800
|
-
]
|
|
1626
|
+
}
|
|
1801
1627
|
}
|
|
1802
1628
|
},
|
|
1803
1629
|
"ervDevices": {
|
|
@@ -1827,15 +1653,8 @@
|
|
|
1827
1653
|
"type": "integer",
|
|
1828
1654
|
"minimum": 0,
|
|
1829
1655
|
"maximum": 2,
|
|
1830
|
-
"default": 0,
|
|
1831
1656
|
"description": "Select accessory control type displayed in HomeKit.",
|
|
1832
1657
|
"anyOf": [
|
|
1833
|
-
{
|
|
1834
|
-
"title": "None / Disabled",
|
|
1835
|
-
"enum": [
|
|
1836
|
-
0
|
|
1837
|
-
]
|
|
1838
|
-
},
|
|
1839
1658
|
{
|
|
1840
1659
|
"title": "Heater / Cooler",
|
|
1841
1660
|
"enum": [
|
|
@@ -1912,15 +1731,8 @@
|
|
|
1912
1731
|
"type": "integer",
|
|
1913
1732
|
"minimum": 0,
|
|
1914
1733
|
"maximum": 7,
|
|
1915
|
-
"default": 0,
|
|
1916
1734
|
"description": "Select the characteristic type to be displayed in HomeKit.",
|
|
1917
1735
|
"anyOf": [
|
|
1918
|
-
{
|
|
1919
|
-
"title": "None / Disabled",
|
|
1920
|
-
"enum": [
|
|
1921
|
-
0
|
|
1922
|
-
]
|
|
1923
|
-
},
|
|
1924
1736
|
{
|
|
1925
1737
|
"title": "Motion Sensor",
|
|
1926
1738
|
"enum": [
|
|
@@ -1969,10 +1781,7 @@
|
|
|
1969
1781
|
"title": "Name",
|
|
1970
1782
|
"type": "string",
|
|
1971
1783
|
"placeholder": "Preset",
|
|
1972
|
-
"description": "Here set Your own name displayed in Homebridge / Homebridge / HomeKit app."
|
|
1973
|
-
"condition": {
|
|
1974
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
|
|
1975
|
-
}
|
|
1784
|
+
"description": "Here set Your own name displayed in Homebridge / Homebridge / HomeKit app."
|
|
1976
1785
|
},
|
|
1977
1786
|
"namePrefix": {
|
|
1978
1787
|
"title": "Prefix",
|
|
@@ -1983,10 +1792,7 @@
|
|
|
1983
1792
|
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
|
|
1984
1793
|
}
|
|
1985
1794
|
}
|
|
1986
|
-
}
|
|
1987
|
-
"required": [
|
|
1988
|
-
"displayType"
|
|
1989
|
-
]
|
|
1795
|
+
}
|
|
1990
1796
|
}
|
|
1991
1797
|
},
|
|
1992
1798
|
"schedules": {
|
|
@@ -2005,15 +1811,8 @@
|
|
|
2005
1811
|
"type": "integer",
|
|
2006
1812
|
"minimum": 0,
|
|
2007
1813
|
"maximum": 7,
|
|
2008
|
-
"default": 0,
|
|
2009
1814
|
"description": "Select the characteristic type to be displayed in HomeKit.",
|
|
2010
1815
|
"anyOf": [
|
|
2011
|
-
{
|
|
2012
|
-
"title": "None / Disabled",
|
|
2013
|
-
"enum": [
|
|
2014
|
-
0
|
|
2015
|
-
]
|
|
2016
|
-
},
|
|
2017
1816
|
{
|
|
2018
1817
|
"title": "Motion Sensor",
|
|
2019
1818
|
"enum": [
|
|
@@ -2062,24 +1861,15 @@
|
|
|
2062
1861
|
"title": "Name",
|
|
2063
1862
|
"type": "string",
|
|
2064
1863
|
"placeholder": "Preset",
|
|
2065
|
-
"description": "Here set Your own name displayed in HomeKit."
|
|
2066
|
-
"condition": {
|
|
2067
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].schedules[arrayIndices[2]].displayType > 0;"
|
|
2068
|
-
}
|
|
1864
|
+
"description": "Here set Your own name displayed in HomeKit."
|
|
2069
1865
|
},
|
|
2070
1866
|
"namePrefix": {
|
|
2071
1867
|
"title": "Prefix",
|
|
2072
1868
|
"type": "boolean",
|
|
2073
1869
|
"default": false,
|
|
2074
|
-
"description": "Enable the accessory name as a prefix for schedule name."
|
|
2075
|
-
"condition": {
|
|
2076
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].schedules[arrayIndices[2]].displayType > 0;"
|
|
2077
|
-
}
|
|
1870
|
+
"description": "Enable the accessory name as a prefix for schedule name."
|
|
2078
1871
|
}
|
|
2079
|
-
}
|
|
2080
|
-
"required": [
|
|
2081
|
-
"displayType"
|
|
2082
|
-
]
|
|
1872
|
+
}
|
|
2083
1873
|
}
|
|
2084
1874
|
},
|
|
2085
1875
|
"scenes": {
|
|
@@ -2098,15 +1888,8 @@
|
|
|
2098
1888
|
"type": "integer",
|
|
2099
1889
|
"minimum": 0,
|
|
2100
1890
|
"maximum": 7,
|
|
2101
|
-
"default": 0,
|
|
2102
1891
|
"description": "Select the characteristic type to be displayed in HomeKit.",
|
|
2103
1892
|
"anyOf": [
|
|
2104
|
-
{
|
|
2105
|
-
"title": "None / Disabled",
|
|
2106
|
-
"enum": [
|
|
2107
|
-
0
|
|
2108
|
-
]
|
|
2109
|
-
},
|
|
2110
1893
|
{
|
|
2111
1894
|
"title": "Motion Sensor",
|
|
2112
1895
|
"enum": [
|
|
@@ -2155,24 +1938,15 @@
|
|
|
2155
1938
|
"title": "Name",
|
|
2156
1939
|
"type": "string",
|
|
2157
1940
|
"placeholder": "Scene",
|
|
2158
|
-
"description": "Here set Your own name displayed in HomeKit."
|
|
2159
|
-
"condition": {
|
|
2160
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
|
|
2161
|
-
}
|
|
1941
|
+
"description": "Here set Your own name displayed in HomeKit."
|
|
2162
1942
|
},
|
|
2163
1943
|
"namePrefix": {
|
|
2164
1944
|
"title": "Prefix",
|
|
2165
1945
|
"type": "boolean",
|
|
2166
1946
|
"default": false,
|
|
2167
|
-
"description": "Enable the accessory name as a prefix for scene name."
|
|
2168
|
-
"condition": {
|
|
2169
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
|
|
2170
|
-
}
|
|
1947
|
+
"description": "Enable the accessory name as a prefix for scene name."
|
|
2171
1948
|
}
|
|
2172
|
-
}
|
|
2173
|
-
"required": [
|
|
2174
|
-
"displayType"
|
|
2175
|
-
]
|
|
1949
|
+
}
|
|
2176
1950
|
}
|
|
2177
1951
|
},
|
|
2178
1952
|
"buttonsSensors": {
|
|
@@ -2186,15 +1960,8 @@
|
|
|
2186
1960
|
"type": "integer",
|
|
2187
1961
|
"minimum": 0,
|
|
2188
1962
|
"maximum": 7,
|
|
2189
|
-
"default": 0,
|
|
2190
1963
|
"description": "Select the characteristic type to be displayed in HomeKit.",
|
|
2191
1964
|
"anyOf": [
|
|
2192
|
-
{
|
|
2193
|
-
"title": "None / Disabled",
|
|
2194
|
-
"enum": [
|
|
2195
|
-
0
|
|
2196
|
-
]
|
|
2197
|
-
},
|
|
2198
1965
|
{
|
|
2199
1966
|
"title": "Motion Sensor",
|
|
2200
1967
|
"enum": [
|
|
@@ -2330,39 +2097,24 @@
|
|
|
2330
2097
|
18
|
|
2331
2098
|
]
|
|
2332
2099
|
}
|
|
2333
|
-
]
|
|
2334
|
-
"condition": {
|
|
2335
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].buttonsSensors[arrayIndices[2]].displayType > 0;"
|
|
2336
|
-
}
|
|
2100
|
+
]
|
|
2337
2101
|
},
|
|
2338
2102
|
"name": {
|
|
2339
2103
|
"title": "Name",
|
|
2340
2104
|
"type": "string",
|
|
2341
2105
|
"placeholder": "Button name",
|
|
2342
|
-
"description": "Here set Your own name displayed in HomeKit."
|
|
2343
|
-
"condition": {
|
|
2344
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].buttonsSensors[arrayIndices[2]].displayType > 0;"
|
|
2345
|
-
}
|
|
2106
|
+
"description": "Here set Your own name displayed in HomeKit."
|
|
2346
2107
|
},
|
|
2347
2108
|
"namePrefix": {
|
|
2348
2109
|
"title": "Prefix",
|
|
2349
2110
|
"type": "boolean",
|
|
2350
2111
|
"default": false,
|
|
2351
|
-
"description": "Enable the accessory name as a prefix for button / sensor name."
|
|
2352
|
-
"condition": {
|
|
2353
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].buttonsSensors[arrayIndices[2]].displayType > 0;"
|
|
2354
|
-
}
|
|
2112
|
+
"description": "Enable the accessory name as a prefix for button / sensor name."
|
|
2355
2113
|
}
|
|
2356
|
-
}
|
|
2357
|
-
"required": [
|
|
2358
|
-
"displayType"
|
|
2359
|
-
]
|
|
2114
|
+
}
|
|
2360
2115
|
}
|
|
2361
2116
|
}
|
|
2362
|
-
}
|
|
2363
|
-
"required": [
|
|
2364
|
-
"displayType"
|
|
2365
|
-
]
|
|
2117
|
+
}
|
|
2366
2118
|
}
|
|
2367
2119
|
},
|
|
2368
2120
|
"refreshInterval": {
|
|
@@ -2545,7 +2297,7 @@
|
|
|
2545
2297
|
{
|
|
2546
2298
|
"key": "accounts[].ataDevices",
|
|
2547
2299
|
"type": "tabarray",
|
|
2548
|
-
"title": "{{ value.name }}",
|
|
2300
|
+
"title": "{{ value.name || '' }}",
|
|
2549
2301
|
"items": [
|
|
2550
2302
|
{
|
|
2551
2303
|
"key": "accounts[].ataDevices[]",
|
|
@@ -2569,10 +2321,7 @@
|
|
|
2569
2321
|
"accounts[].ataDevices[].frostProtectionSupport",
|
|
2570
2322
|
"accounts[].ataDevices[].overheatProtectionSupport",
|
|
2571
2323
|
"accounts[].ataDevices[].holidayModeSupport"
|
|
2572
|
-
]
|
|
2573
|
-
"condition": {
|
|
2574
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
|
|
2575
|
-
}
|
|
2324
|
+
]
|
|
2576
2325
|
},
|
|
2577
2326
|
{
|
|
2578
2327
|
"title": "Presets",
|
|
@@ -2584,7 +2333,7 @@
|
|
|
2584
2333
|
{
|
|
2585
2334
|
"key": "accounts[].ataDevices[].presets",
|
|
2586
2335
|
"type": "tabarray",
|
|
2587
|
-
"title": "{{ value.name }}",
|
|
2336
|
+
"title": "{{ value.name || '' }}",
|
|
2588
2337
|
"items": [
|
|
2589
2338
|
{
|
|
2590
2339
|
"key": "accounts[].ataDevices[].presets[].id",
|
|
@@ -2597,7 +2346,7 @@
|
|
|
2597
2346
|
}
|
|
2598
2347
|
],
|
|
2599
2348
|
"condition": {
|
|
2600
|
-
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloud'
|
|
2349
|
+
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloud';"
|
|
2601
2350
|
}
|
|
2602
2351
|
},
|
|
2603
2352
|
{
|
|
@@ -2610,7 +2359,7 @@
|
|
|
2610
2359
|
{
|
|
2611
2360
|
"key": "accounts[].ataDevices[].scenes",
|
|
2612
2361
|
"type": "tabarray",
|
|
2613
|
-
"title": "{{ value.name }}",
|
|
2362
|
+
"title": "{{ value.name || '' }}",
|
|
2614
2363
|
"items": [
|
|
2615
2364
|
{
|
|
2616
2365
|
"key": "accounts[].ataDevices[].scenes[].id",
|
|
@@ -2623,7 +2372,7 @@
|
|
|
2623
2372
|
}
|
|
2624
2373
|
],
|
|
2625
2374
|
"condition": {
|
|
2626
|
-
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome'
|
|
2375
|
+
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
|
|
2627
2376
|
}
|
|
2628
2377
|
},
|
|
2629
2378
|
{
|
|
@@ -2636,7 +2385,7 @@
|
|
|
2636
2385
|
{
|
|
2637
2386
|
"key": "accounts[].ataDevices[].schedules",
|
|
2638
2387
|
"type": "tabarray",
|
|
2639
|
-
"title": "{{ value.name }}",
|
|
2388
|
+
"title": "{{ value.name || '' }}",
|
|
2640
2389
|
"items": [
|
|
2641
2390
|
{
|
|
2642
2391
|
"key": "accounts[].ataDevices[].schedules[].id",
|
|
@@ -2649,7 +2398,7 @@
|
|
|
2649
2398
|
}
|
|
2650
2399
|
],
|
|
2651
2400
|
"condition": {
|
|
2652
|
-
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome'
|
|
2401
|
+
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
|
|
2653
2402
|
}
|
|
2654
2403
|
},
|
|
2655
2404
|
{
|
|
@@ -2662,7 +2411,7 @@
|
|
|
2662
2411
|
{
|
|
2663
2412
|
"key": "accounts[].ataDevices[]",
|
|
2664
2413
|
"type": "tabarray",
|
|
2665
|
-
"title": "{{ value.name }}",
|
|
2414
|
+
"title": "{{ value.name || '' }}",
|
|
2666
2415
|
"items": [
|
|
2667
2416
|
{
|
|
2668
2417
|
"title": "Temperature",
|
|
@@ -2685,7 +2434,7 @@
|
|
|
2685
2434
|
{
|
|
2686
2435
|
"key": "accounts[].ataDevices[].buttonsSensors",
|
|
2687
2436
|
"type": "tabarray",
|
|
2688
|
-
"title": "{{ value.name }}",
|
|
2437
|
+
"title": "{{ value.name || '' }}",
|
|
2689
2438
|
"items": [
|
|
2690
2439
|
"accounts[].ataDevices[].buttonsSensors[].displayType",
|
|
2691
2440
|
"accounts[].ataDevices[].buttonsSensors[].mode",
|
|
@@ -2697,15 +2446,9 @@
|
|
|
2697
2446
|
}
|
|
2698
2447
|
]
|
|
2699
2448
|
}
|
|
2700
|
-
]
|
|
2701
|
-
"condition": {
|
|
2702
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
|
|
2703
|
-
}
|
|
2449
|
+
]
|
|
2704
2450
|
}
|
|
2705
|
-
]
|
|
2706
|
-
"condition": {
|
|
2707
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id !== '0';"
|
|
2708
|
-
}
|
|
2451
|
+
]
|
|
2709
2452
|
}
|
|
2710
2453
|
]
|
|
2711
2454
|
}
|
|
@@ -2717,7 +2460,7 @@
|
|
|
2717
2460
|
{
|
|
2718
2461
|
"key": "accounts[].atwDevices",
|
|
2719
2462
|
"type": "tabarray",
|
|
2720
|
-
"title": "{{ value.name }}",
|
|
2463
|
+
"title": "{{ value.name || '' }}",
|
|
2721
2464
|
"items": [
|
|
2722
2465
|
{
|
|
2723
2466
|
"key": "accounts[].atwDevices[]",
|
|
@@ -2738,10 +2481,7 @@
|
|
|
2738
2481
|
"accounts[].atwDevices[].name",
|
|
2739
2482
|
"accounts[].atwDevices[].frostProtectionSupport",
|
|
2740
2483
|
"accounts[].atwDevices[].holidayModeSupport"
|
|
2741
|
-
]
|
|
2742
|
-
"condition": {
|
|
2743
|
-
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayType > 0;"
|
|
2744
|
-
}
|
|
2484
|
+
]
|
|
2745
2485
|
},
|
|
2746
2486
|
{
|
|
2747
2487
|
"title": "Presets",
|
|
@@ -2753,7 +2493,7 @@
|
|
|
2753
2493
|
{
|
|
2754
2494
|
"key": "accounts[].atwDevices[].presets",
|
|
2755
2495
|
"type": "tabarray",
|
|
2756
|
-
"title": "{{ value.name }}",
|
|
2496
|
+
"title": "{{ value.name || '' }}",
|
|
2757
2497
|
"items": [
|
|
2758
2498
|
{
|
|
2759
2499
|
"key": "accounts[].atwDevices[].presets[].id",
|
|
@@ -2766,7 +2506,7 @@
|
|
|
2766
2506
|
}
|
|
2767
2507
|
],
|
|
2768
2508
|
"condition": {
|
|
2769
|
-
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloud'
|
|
2509
|
+
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloud';"
|
|
2770
2510
|
}
|
|
2771
2511
|
},
|
|
2772
2512
|
{
|
|
@@ -2779,7 +2519,7 @@
|
|
|
2779
2519
|
{
|
|
2780
2520
|
"key": "accounts[].atwDevices[].scenes",
|
|
2781
2521
|
"type": "tabarray",
|
|
2782
|
-
"title": "{{ value.name }}",
|
|
2522
|
+
"title": "{{ value.name || '' }}",
|
|
2783
2523
|
"items": [
|
|
2784
2524
|
{
|
|
2785
2525
|
"key": "accounts[].atwDevices[].scenes[].id",
|
|
@@ -2792,7 +2532,7 @@
|
|
|
2792
2532
|
}
|
|
2793
2533
|
],
|
|
2794
2534
|
"condition": {
|
|
2795
|
-
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome'
|
|
2535
|
+
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
|
|
2796
2536
|
}
|
|
2797
2537
|
},
|
|
2798
2538
|
{
|
|
@@ -2805,7 +2545,7 @@
|
|
|
2805
2545
|
{
|
|
2806
2546
|
"key": "accounts[].atwDevices[].schedules",
|
|
2807
2547
|
"type": "tabarray",
|
|
2808
|
-
"title": "{{ value.name }}",
|
|
2548
|
+
"title": "{{ value.name || '' }}",
|
|
2809
2549
|
"items": [
|
|
2810
2550
|
{
|
|
2811
2551
|
"key": "accounts[].atwDevices[].schedules[].id",
|
|
@@ -2818,7 +2558,7 @@
|
|
|
2818
2558
|
}
|
|
2819
2559
|
],
|
|
2820
2560
|
"condition": {
|
|
2821
|
-
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome'
|
|
2561
|
+
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
|
|
2822
2562
|
}
|
|
2823
2563
|
},
|
|
2824
2564
|
{
|
|
@@ -2831,7 +2571,7 @@
|
|
|
2831
2571
|
{
|
|
2832
2572
|
"key": "accounts[].atwDevices[]",
|
|
2833
2573
|
"type": "tabarray",
|
|
2834
|
-
"title": "{{ value.name }}",
|
|
2574
|
+
"title": "{{ value.name || '' }}",
|
|
2835
2575
|
"items": [
|
|
2836
2576
|
{
|
|
2837
2577
|
"title": "Temperature",
|
|
@@ -2861,7 +2601,7 @@
|
|
|
2861
2601
|
{
|
|
2862
2602
|
"key": "accounts[].atwDevices[].buttonsSensors",
|
|
2863
2603
|
"type": "tabarray",
|
|
2864
|
-
"title": "{{ value.name }}",
|
|
2604
|
+
"title": "{{ value.name || '' }}",
|
|
2865
2605
|
"items": [
|
|
2866
2606
|
"accounts[].atwDevices[].buttonsSensors[].displayType",
|
|
2867
2607
|
"accounts[].atwDevices[].buttonsSensors[].mode",
|
|
@@ -2873,15 +2613,9 @@
|
|
|
2873
2613
|
}
|
|
2874
2614
|
]
|
|
2875
2615
|
}
|
|
2876
|
-
]
|
|
2877
|
-
"condition": {
|
|
2878
|
-
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayType > 0;"
|
|
2879
|
-
}
|
|
2616
|
+
]
|
|
2880
2617
|
}
|
|
2881
|
-
]
|
|
2882
|
-
"condition": {
|
|
2883
|
-
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].id !== '0';"
|
|
2884
|
-
}
|
|
2618
|
+
]
|
|
2885
2619
|
}
|
|
2886
2620
|
]
|
|
2887
2621
|
}
|
|
@@ -2893,7 +2627,7 @@
|
|
|
2893
2627
|
{
|
|
2894
2628
|
"key": "accounts[].ervDevices",
|
|
2895
2629
|
"type": "tabarray",
|
|
2896
|
-
"title": "{{ value.name }}",
|
|
2630
|
+
"title": "{{ value.name || '' }}",
|
|
2897
2631
|
"items": [
|
|
2898
2632
|
{
|
|
2899
2633
|
"key": "accounts[].ervDevices[]",
|
|
@@ -2912,10 +2646,7 @@
|
|
|
2912
2646
|
"items": [
|
|
2913
2647
|
"accounts[].ervDevices[].name",
|
|
2914
2648
|
"accounts[].ervDevices[].holidayModeSupport"
|
|
2915
|
-
]
|
|
2916
|
-
"condition": {
|
|
2917
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
|
|
2918
|
-
}
|
|
2649
|
+
]
|
|
2919
2650
|
},
|
|
2920
2651
|
{
|
|
2921
2652
|
"title": "Presets",
|
|
@@ -2927,7 +2658,7 @@
|
|
|
2927
2658
|
{
|
|
2928
2659
|
"key": "accounts[].ervDevices[].presets",
|
|
2929
2660
|
"type": "tabarray",
|
|
2930
|
-
"title": "{{ value.name }}",
|
|
2661
|
+
"title": "{{ value.name || '' }}",
|
|
2931
2662
|
"items": [
|
|
2932
2663
|
{
|
|
2933
2664
|
"key": "accounts[].ervDevices[].presets[].id",
|
|
@@ -2940,7 +2671,7 @@
|
|
|
2940
2671
|
}
|
|
2941
2672
|
],
|
|
2942
2673
|
"condition": {
|
|
2943
|
-
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloud'
|
|
2674
|
+
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloud';"
|
|
2944
2675
|
}
|
|
2945
2676
|
},
|
|
2946
2677
|
{
|
|
@@ -2953,7 +2684,7 @@
|
|
|
2953
2684
|
{
|
|
2954
2685
|
"key": "accounts[].ervDevices[].scenes",
|
|
2955
2686
|
"type": "tabarray",
|
|
2956
|
-
"title": "{{ value.name }}",
|
|
2687
|
+
"title": "{{ value.name || '' }}",
|
|
2957
2688
|
"items": [
|
|
2958
2689
|
{
|
|
2959
2690
|
"key": "accounts[].ervDevices[].scenes[].id",
|
|
@@ -2966,7 +2697,7 @@
|
|
|
2966
2697
|
}
|
|
2967
2698
|
],
|
|
2968
2699
|
"condition": {
|
|
2969
|
-
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome'
|
|
2700
|
+
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
|
|
2970
2701
|
}
|
|
2971
2702
|
},
|
|
2972
2703
|
{
|
|
@@ -2979,7 +2710,7 @@
|
|
|
2979
2710
|
{
|
|
2980
2711
|
"key": "accounts[].ervDevices[].schedules",
|
|
2981
2712
|
"type": "tabarray",
|
|
2982
|
-
"title": "{{ value.name }}",
|
|
2713
|
+
"title": "{{ value.name || '' }}",
|
|
2983
2714
|
"items": [
|
|
2984
2715
|
{
|
|
2985
2716
|
"key": "accounts[].ervDevices[].schedules[].id",
|
|
@@ -2992,7 +2723,7 @@
|
|
|
2992
2723
|
}
|
|
2993
2724
|
],
|
|
2994
2725
|
"condition": {
|
|
2995
|
-
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome'
|
|
2726
|
+
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
|
|
2996
2727
|
}
|
|
2997
2728
|
},
|
|
2998
2729
|
{
|
|
@@ -3005,7 +2736,7 @@
|
|
|
3005
2736
|
{
|
|
3006
2737
|
"key": "accounts[].ervDevices[]",
|
|
3007
2738
|
"type": "tabarray",
|
|
3008
|
-
"title": "{{ value.name }}",
|
|
2739
|
+
"title": "{{ value.name || '' }}",
|
|
3009
2740
|
"items": [
|
|
3010
2741
|
{
|
|
3011
2742
|
"title": "Temperature",
|
|
@@ -3041,24 +2772,15 @@
|
|
|
3041
2772
|
}
|
|
3042
2773
|
]
|
|
3043
2774
|
}
|
|
3044
|
-
]
|
|
3045
|
-
"condition": {
|
|
3046
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
|
|
3047
|
-
}
|
|
2775
|
+
]
|
|
3048
2776
|
}
|
|
3049
|
-
]
|
|
3050
|
-
"condition": {
|
|
3051
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].id !== '0';"
|
|
3052
|
-
}
|
|
2777
|
+
]
|
|
3053
2778
|
}
|
|
3054
2779
|
]
|
|
3055
2780
|
}
|
|
3056
2781
|
]
|
|
3057
2782
|
}
|
|
3058
|
-
]
|
|
3059
|
-
"condition": {
|
|
3060
|
-
"functionBody": "return model.accounts[arrayIndices].type !== 'disabled';"
|
|
3061
|
-
}
|
|
2783
|
+
]
|
|
3062
2784
|
},
|
|
3063
2785
|
{
|
|
3064
2786
|
"key": "accounts[]",
|
|
@@ -3070,7 +2792,7 @@
|
|
|
3070
2792
|
{
|
|
3071
2793
|
"key": "accounts[]",
|
|
3072
2794
|
"type": "tabarray",
|
|
3073
|
-
"title": "{{ value.name }}",
|
|
2795
|
+
"title": "{{ value.name || '' }}",
|
|
3074
2796
|
"items": [
|
|
3075
2797
|
{
|
|
3076
2798
|
"title": "Account",
|
|
@@ -3134,10 +2856,7 @@
|
|
|
3134
2856
|
}
|
|
3135
2857
|
]
|
|
3136
2858
|
}
|
|
3137
|
-
]
|
|
3138
|
-
"condition": {
|
|
3139
|
-
"functionBody": "return model.accounts[arrayIndices].type !== 'disabled' && (model.accounts[arrayIndices].ataDevices.length > 0 || model.accounts[arrayIndices].atwDevices.length > 0 || model.accounts[arrayIndices].ervDevices.length > 0);"
|
|
3140
|
-
}
|
|
2859
|
+
]
|
|
3141
2860
|
}
|
|
3142
2861
|
]
|
|
3143
2862
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.5.9-beta.
|
|
4
|
+
"version": "4.5.9-beta.2",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|