homebridge-melcloud-control 4.2.3-beta.8 → 4.2.4
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 +11 -0
- package/README.md +36 -21
- package/config.schema.json +433 -25
- package/homebridge-ui/public/index.html +86 -16
- package/index.js +3 -3
- package/package.json +2 -2
- package/src/constants.js +48 -5
- package/src/deviceata.js +274 -155
- package/src/deviceatw.js +334 -218
- package/src/deviceerv.js +250 -126
- package/src/melcloud.js +24 -31
- package/src/melcloudata.js +40 -21
- package/src/melcloudatw.js +46 -29
- package/src/melclouderv.js +37 -21
- package/src/melcloudhome.js +76 -37
package/config.schema.json
CHANGED
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
"title": "Display Type",
|
|
464
464
|
"type": "integer",
|
|
465
465
|
"minimum": 0,
|
|
466
|
-
"maximum":
|
|
466
|
+
"maximum": 6,
|
|
467
467
|
"default": 0,
|
|
468
468
|
"description": "Select the characteristic type to be displayed in HomeKit app.",
|
|
469
469
|
"anyOf": [
|
|
@@ -474,34 +474,40 @@
|
|
|
474
474
|
]
|
|
475
475
|
},
|
|
476
476
|
{
|
|
477
|
-
"title": "
|
|
477
|
+
"title": "Motion Sensor",
|
|
478
478
|
"enum": [
|
|
479
479
|
1
|
|
480
480
|
]
|
|
481
481
|
},
|
|
482
482
|
{
|
|
483
|
-
"title": "
|
|
483
|
+
"title": "Occupancy Sensor",
|
|
484
484
|
"enum": [
|
|
485
485
|
2
|
|
486
486
|
]
|
|
487
487
|
},
|
|
488
488
|
{
|
|
489
|
-
"title": "
|
|
489
|
+
"title": "Contact Sensor",
|
|
490
490
|
"enum": [
|
|
491
491
|
3
|
|
492
492
|
]
|
|
493
493
|
},
|
|
494
494
|
{
|
|
495
|
-
"title": "
|
|
495
|
+
"title": "Switch + Motion Sensor",
|
|
496
496
|
"enum": [
|
|
497
497
|
4
|
|
498
498
|
]
|
|
499
499
|
},
|
|
500
500
|
{
|
|
501
|
-
"title": "
|
|
501
|
+
"title": "Switch + Occupancy Sensor",
|
|
502
502
|
"enum": [
|
|
503
503
|
5
|
|
504
504
|
]
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"title": "Switch + Contact Sensor",
|
|
508
|
+
"enum": [
|
|
509
|
+
6
|
|
510
|
+
]
|
|
505
511
|
}
|
|
506
512
|
]
|
|
507
513
|
},
|
|
@@ -544,7 +550,7 @@
|
|
|
544
550
|
"title": "Display Type",
|
|
545
551
|
"type": "integer",
|
|
546
552
|
"minimum": 0,
|
|
547
|
-
"maximum":
|
|
553
|
+
"maximum": 6,
|
|
548
554
|
"default": 0,
|
|
549
555
|
"description": "Select the characteristic type to be displayed in HomeKit app.",
|
|
550
556
|
"anyOf": [
|
|
@@ -571,6 +577,24 @@
|
|
|
571
577
|
"enum": [
|
|
572
578
|
3
|
|
573
579
|
]
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"title": "Switch + Motion Sensor",
|
|
583
|
+
"enum": [
|
|
584
|
+
4
|
|
585
|
+
]
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"title": "Switch + Occupancy Sensor",
|
|
589
|
+
"enum": [
|
|
590
|
+
5
|
|
591
|
+
]
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"title": "Switch + Contact Sensor",
|
|
595
|
+
"enum": [
|
|
596
|
+
6
|
|
597
|
+
]
|
|
574
598
|
}
|
|
575
599
|
]
|
|
576
600
|
},
|
|
@@ -598,6 +622,93 @@
|
|
|
598
622
|
]
|
|
599
623
|
}
|
|
600
624
|
},
|
|
625
|
+
"scenes": {
|
|
626
|
+
"title": "Scenes",
|
|
627
|
+
"type": "array",
|
|
628
|
+
"items": {
|
|
629
|
+
"type": "object",
|
|
630
|
+
"properties": {
|
|
631
|
+
"id": {
|
|
632
|
+
"title": "Id",
|
|
633
|
+
"type": "string",
|
|
634
|
+
"default": "0"
|
|
635
|
+
},
|
|
636
|
+
"displayType": {
|
|
637
|
+
"title": "Display Type",
|
|
638
|
+
"type": "integer",
|
|
639
|
+
"minimum": 0,
|
|
640
|
+
"maximum": 6,
|
|
641
|
+
"default": 0,
|
|
642
|
+
"description": "Select the characteristic type to be displayed in HomeKit app.",
|
|
643
|
+
"anyOf": [
|
|
644
|
+
{
|
|
645
|
+
"title": "None/Disabled",
|
|
646
|
+
"enum": [
|
|
647
|
+
0
|
|
648
|
+
]
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"title": "Motion Sensor",
|
|
652
|
+
"enum": [
|
|
653
|
+
1
|
|
654
|
+
]
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"title": "Occupancy Sensor",
|
|
658
|
+
"enum": [
|
|
659
|
+
2
|
|
660
|
+
]
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"title": "Contact Sensor",
|
|
664
|
+
"enum": [
|
|
665
|
+
3
|
|
666
|
+
]
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"title": "Switch + Motion Sensor",
|
|
670
|
+
"enum": [
|
|
671
|
+
4
|
|
672
|
+
]
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"title": "Switch + Occupancy Sensor",
|
|
676
|
+
"enum": [
|
|
677
|
+
5
|
|
678
|
+
]
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"title": "Switch + Contact Sensor",
|
|
682
|
+
"enum": [
|
|
683
|
+
6
|
|
684
|
+
]
|
|
685
|
+
}
|
|
686
|
+
]
|
|
687
|
+
},
|
|
688
|
+
"name": {
|
|
689
|
+
"title": "Name",
|
|
690
|
+
"type": "string",
|
|
691
|
+
"default": "Scene",
|
|
692
|
+
"description": "Your own name displayed in Homebridge/HomeKit app.",
|
|
693
|
+
"condition": {
|
|
694
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
|
|
695
|
+
}
|
|
696
|
+
},
|
|
697
|
+
"namePrefix": {
|
|
698
|
+
"title": "Prefix",
|
|
699
|
+
"type": "boolean",
|
|
700
|
+
"default": false,
|
|
701
|
+
"description": "Enable/disable the accessory name as a prefix for schedule name.",
|
|
702
|
+
"condition": {
|
|
703
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
"required": [
|
|
708
|
+
"displayType"
|
|
709
|
+
]
|
|
710
|
+
}
|
|
711
|
+
},
|
|
601
712
|
"buttonsSensors": {
|
|
602
713
|
"title": "Button / Sensor",
|
|
603
714
|
"type": "array",
|
|
@@ -1169,7 +1280,7 @@
|
|
|
1169
1280
|
"title": "Display Type",
|
|
1170
1281
|
"type": "integer",
|
|
1171
1282
|
"minimum": 0,
|
|
1172
|
-
"maximum":
|
|
1283
|
+
"maximum": 6,
|
|
1173
1284
|
"default": 0,
|
|
1174
1285
|
"description": "Select the characteristic type to be displayed in HomeKit app.",
|
|
1175
1286
|
"anyOf": [
|
|
@@ -1180,34 +1291,40 @@
|
|
|
1180
1291
|
]
|
|
1181
1292
|
},
|
|
1182
1293
|
{
|
|
1183
|
-
"title": "
|
|
1294
|
+
"title": "Motion Sensor",
|
|
1184
1295
|
"enum": [
|
|
1185
1296
|
1
|
|
1186
1297
|
]
|
|
1187
1298
|
},
|
|
1188
1299
|
{
|
|
1189
|
-
"title": "
|
|
1300
|
+
"title": "Occupancy Sensor",
|
|
1190
1301
|
"enum": [
|
|
1191
1302
|
2
|
|
1192
1303
|
]
|
|
1193
1304
|
},
|
|
1194
1305
|
{
|
|
1195
|
-
"title": "
|
|
1306
|
+
"title": "Contact Sensor",
|
|
1196
1307
|
"enum": [
|
|
1197
1308
|
3
|
|
1198
1309
|
]
|
|
1199
1310
|
},
|
|
1200
1311
|
{
|
|
1201
|
-
"title": "
|
|
1312
|
+
"title": "Switch + Motion Sensor",
|
|
1202
1313
|
"enum": [
|
|
1203
1314
|
4
|
|
1204
1315
|
]
|
|
1205
1316
|
},
|
|
1206
1317
|
{
|
|
1207
|
-
"title": "
|
|
1318
|
+
"title": "Switch + Occupancy Sensor",
|
|
1208
1319
|
"enum": [
|
|
1209
1320
|
5
|
|
1210
1321
|
]
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
"title": "Switch + Contact Sensor",
|
|
1325
|
+
"enum": [
|
|
1326
|
+
6
|
|
1327
|
+
]
|
|
1211
1328
|
}
|
|
1212
1329
|
]
|
|
1213
1330
|
},
|
|
@@ -1250,7 +1367,7 @@
|
|
|
1250
1367
|
"title": "Display Type",
|
|
1251
1368
|
"type": "integer",
|
|
1252
1369
|
"minimum": 0,
|
|
1253
|
-
"maximum":
|
|
1370
|
+
"maximum": 6,
|
|
1254
1371
|
"default": 0,
|
|
1255
1372
|
"description": "Select the characteristic type to be displayed in HomeKit app.",
|
|
1256
1373
|
"anyOf": [
|
|
@@ -1277,6 +1394,24 @@
|
|
|
1277
1394
|
"enum": [
|
|
1278
1395
|
3
|
|
1279
1396
|
]
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"title": "Switch + Motion Sensor",
|
|
1400
|
+
"enum": [
|
|
1401
|
+
4
|
|
1402
|
+
]
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
"title": "Switch + Occupancy Sensor",
|
|
1406
|
+
"enum": [
|
|
1407
|
+
5
|
|
1408
|
+
]
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
"title": "Switch + Contact Sensor",
|
|
1412
|
+
"enum": [
|
|
1413
|
+
6
|
|
1414
|
+
]
|
|
1280
1415
|
}
|
|
1281
1416
|
]
|
|
1282
1417
|
},
|
|
@@ -1304,6 +1439,93 @@
|
|
|
1304
1439
|
]
|
|
1305
1440
|
}
|
|
1306
1441
|
},
|
|
1442
|
+
"scenes": {
|
|
1443
|
+
"title": "Scenes",
|
|
1444
|
+
"type": "array",
|
|
1445
|
+
"items": {
|
|
1446
|
+
"type": "object",
|
|
1447
|
+
"properties": {
|
|
1448
|
+
"id": {
|
|
1449
|
+
"title": "Id",
|
|
1450
|
+
"type": "string",
|
|
1451
|
+
"default": "0"
|
|
1452
|
+
},
|
|
1453
|
+
"displayType": {
|
|
1454
|
+
"title": "Display Type",
|
|
1455
|
+
"type": "integer",
|
|
1456
|
+
"minimum": 0,
|
|
1457
|
+
"maximum": 6,
|
|
1458
|
+
"default": 0,
|
|
1459
|
+
"description": "Select the characteristic type to be displayed in HomeKit app.",
|
|
1460
|
+
"anyOf": [
|
|
1461
|
+
{
|
|
1462
|
+
"title": "None/Disabled",
|
|
1463
|
+
"enum": [
|
|
1464
|
+
0
|
|
1465
|
+
]
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"title": "Motion Sensor",
|
|
1469
|
+
"enum": [
|
|
1470
|
+
1
|
|
1471
|
+
]
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"title": "Occupancy Sensor",
|
|
1475
|
+
"enum": [
|
|
1476
|
+
2
|
|
1477
|
+
]
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"title": "Contact Sensor",
|
|
1481
|
+
"enum": [
|
|
1482
|
+
3
|
|
1483
|
+
]
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
"title": "Switch + Motion Sensor",
|
|
1487
|
+
"enum": [
|
|
1488
|
+
4
|
|
1489
|
+
]
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"title": "Switch + Occupancy Sensor",
|
|
1493
|
+
"enum": [
|
|
1494
|
+
5
|
|
1495
|
+
]
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
"title": "Switch + Contact Sensor",
|
|
1499
|
+
"enum": [
|
|
1500
|
+
6
|
|
1501
|
+
]
|
|
1502
|
+
}
|
|
1503
|
+
]
|
|
1504
|
+
},
|
|
1505
|
+
"name": {
|
|
1506
|
+
"title": "Name",
|
|
1507
|
+
"type": "string",
|
|
1508
|
+
"default": "Scene",
|
|
1509
|
+
"description": "Your own name displayed in Homebridge/HomeKit app.",
|
|
1510
|
+
"condition": {
|
|
1511
|
+
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
|
|
1512
|
+
}
|
|
1513
|
+
},
|
|
1514
|
+
"namePrefix": {
|
|
1515
|
+
"title": "Prefix",
|
|
1516
|
+
"type": "boolean",
|
|
1517
|
+
"default": false,
|
|
1518
|
+
"description": "Enable/disable the accessory name as a prefix for schedule name.",
|
|
1519
|
+
"condition": {
|
|
1520
|
+
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
"required": [
|
|
1525
|
+
"displayType"
|
|
1526
|
+
]
|
|
1527
|
+
}
|
|
1528
|
+
},
|
|
1307
1529
|
"buttonsSensors": {
|
|
1308
1530
|
"title": "Button",
|
|
1309
1531
|
"type": "array",
|
|
@@ -1654,7 +1876,7 @@
|
|
|
1654
1876
|
"title": "Display Type",
|
|
1655
1877
|
"type": "integer",
|
|
1656
1878
|
"minimum": 0,
|
|
1657
|
-
"maximum":
|
|
1879
|
+
"maximum": 6,
|
|
1658
1880
|
"default": 0,
|
|
1659
1881
|
"description": "Select the characteristic type to be displayed in HomeKit app.",
|
|
1660
1882
|
"anyOf": [
|
|
@@ -1665,39 +1887,42 @@
|
|
|
1665
1887
|
]
|
|
1666
1888
|
},
|
|
1667
1889
|
{
|
|
1668
|
-
"title": "
|
|
1890
|
+
"title": "Motion Sensor",
|
|
1669
1891
|
"enum": [
|
|
1670
1892
|
1
|
|
1671
1893
|
]
|
|
1672
1894
|
},
|
|
1673
1895
|
{
|
|
1674
|
-
"title": "
|
|
1896
|
+
"title": "Occupancy Sensor",
|
|
1675
1897
|
"enum": [
|
|
1676
1898
|
2
|
|
1677
1899
|
]
|
|
1678
1900
|
},
|
|
1679
1901
|
{
|
|
1680
|
-
"title": "
|
|
1902
|
+
"title": "Contact Sensor",
|
|
1681
1903
|
"enum": [
|
|
1682
1904
|
3
|
|
1683
1905
|
]
|
|
1684
1906
|
},
|
|
1685
1907
|
{
|
|
1686
|
-
"title": "
|
|
1908
|
+
"title": "Switch + Motion Sensor",
|
|
1687
1909
|
"enum": [
|
|
1688
1910
|
4
|
|
1689
1911
|
]
|
|
1690
1912
|
},
|
|
1691
1913
|
{
|
|
1692
|
-
"title": "
|
|
1914
|
+
"title": "Switch + Occupancy Sensor",
|
|
1693
1915
|
"enum": [
|
|
1694
1916
|
5
|
|
1695
1917
|
]
|
|
1918
|
+
},
|
|
1919
|
+
{
|
|
1920
|
+
"title": "Switch + Contact Sensor",
|
|
1921
|
+
"enum": [
|
|
1922
|
+
6
|
|
1923
|
+
]
|
|
1696
1924
|
}
|
|
1697
|
-
]
|
|
1698
|
-
"condition": {
|
|
1699
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
|
|
1700
|
-
}
|
|
1925
|
+
]
|
|
1701
1926
|
},
|
|
1702
1927
|
"name": {
|
|
1703
1928
|
"title": "Name",
|
|
@@ -1738,7 +1963,7 @@
|
|
|
1738
1963
|
"title": "Display Type",
|
|
1739
1964
|
"type": "integer",
|
|
1740
1965
|
"minimum": 0,
|
|
1741
|
-
"maximum":
|
|
1966
|
+
"maximum": 6,
|
|
1742
1967
|
"default": 0,
|
|
1743
1968
|
"description": "Select the characteristic type to be displayed in HomeKit app.",
|
|
1744
1969
|
"anyOf": [
|
|
@@ -1765,6 +1990,24 @@
|
|
|
1765
1990
|
"enum": [
|
|
1766
1991
|
3
|
|
1767
1992
|
]
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
"title": "Switch + Motion Sensor",
|
|
1996
|
+
"enum": [
|
|
1997
|
+
4
|
|
1998
|
+
]
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
"title": "Switch + Occupancy Sensor",
|
|
2002
|
+
"enum": [
|
|
2003
|
+
5
|
|
2004
|
+
]
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
"title": "Switch + Contact Sensor",
|
|
2008
|
+
"enum": [
|
|
2009
|
+
6
|
|
2010
|
+
]
|
|
1768
2011
|
}
|
|
1769
2012
|
]
|
|
1770
2013
|
},
|
|
@@ -1792,6 +2035,93 @@
|
|
|
1792
2035
|
]
|
|
1793
2036
|
}
|
|
1794
2037
|
},
|
|
2038
|
+
"scenes": {
|
|
2039
|
+
"title": "Scenes",
|
|
2040
|
+
"type": "array",
|
|
2041
|
+
"items": {
|
|
2042
|
+
"type": "object",
|
|
2043
|
+
"properties": {
|
|
2044
|
+
"id": {
|
|
2045
|
+
"title": "Id",
|
|
2046
|
+
"type": "string",
|
|
2047
|
+
"default": "0"
|
|
2048
|
+
},
|
|
2049
|
+
"displayType": {
|
|
2050
|
+
"title": "Display Type",
|
|
2051
|
+
"type": "integer",
|
|
2052
|
+
"minimum": 0,
|
|
2053
|
+
"maximum": 6,
|
|
2054
|
+
"default": 0,
|
|
2055
|
+
"description": "Select the characteristic type to be displayed in HomeKit app.",
|
|
2056
|
+
"anyOf": [
|
|
2057
|
+
{
|
|
2058
|
+
"title": "None/Disabled",
|
|
2059
|
+
"enum": [
|
|
2060
|
+
0
|
|
2061
|
+
]
|
|
2062
|
+
},
|
|
2063
|
+
{
|
|
2064
|
+
"title": "Motion Sensor",
|
|
2065
|
+
"enum": [
|
|
2066
|
+
1
|
|
2067
|
+
]
|
|
2068
|
+
},
|
|
2069
|
+
{
|
|
2070
|
+
"title": "Occupancy Sensor",
|
|
2071
|
+
"enum": [
|
|
2072
|
+
2
|
|
2073
|
+
]
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"title": "Contact Sensor",
|
|
2077
|
+
"enum": [
|
|
2078
|
+
3
|
|
2079
|
+
]
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
"title": "Switch + Motion Sensor",
|
|
2083
|
+
"enum": [
|
|
2084
|
+
4
|
|
2085
|
+
]
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"title": "Switch + Occupancy Sensor",
|
|
2089
|
+
"enum": [
|
|
2090
|
+
5
|
|
2091
|
+
]
|
|
2092
|
+
},
|
|
2093
|
+
{
|
|
2094
|
+
"title": "Switch + Contact Sensor",
|
|
2095
|
+
"enum": [
|
|
2096
|
+
6
|
|
2097
|
+
]
|
|
2098
|
+
}
|
|
2099
|
+
]
|
|
2100
|
+
},
|
|
2101
|
+
"name": {
|
|
2102
|
+
"title": "Name",
|
|
2103
|
+
"type": "string",
|
|
2104
|
+
"default": "Scene",
|
|
2105
|
+
"description": "Your own name displayed in Homebridge/HomeKit app.",
|
|
2106
|
+
"condition": {
|
|
2107
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
|
|
2108
|
+
}
|
|
2109
|
+
},
|
|
2110
|
+
"namePrefix": {
|
|
2111
|
+
"title": "Prefix",
|
|
2112
|
+
"type": "boolean",
|
|
2113
|
+
"default": false,
|
|
2114
|
+
"description": "Enable/disable the accessory name as a prefix for schedule name.",
|
|
2115
|
+
"condition": {
|
|
2116
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
|
|
2117
|
+
}
|
|
2118
|
+
}
|
|
2119
|
+
},
|
|
2120
|
+
"required": [
|
|
2121
|
+
"displayType"
|
|
2122
|
+
]
|
|
2123
|
+
}
|
|
2124
|
+
},
|
|
1795
2125
|
"buttonsSensors": {
|
|
1796
2126
|
"title": "Buttons",
|
|
1797
2127
|
"type": "array",
|
|
@@ -2236,6 +2566,32 @@
|
|
|
2236
2566
|
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome' && model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
|
|
2237
2567
|
}
|
|
2238
2568
|
},
|
|
2569
|
+
{
|
|
2570
|
+
"title": "Scenes",
|
|
2571
|
+
"type": "section",
|
|
2572
|
+
"description": "Section for setup device scenes",
|
|
2573
|
+
"expandable": true,
|
|
2574
|
+
"expanded": false,
|
|
2575
|
+
"items": [
|
|
2576
|
+
{
|
|
2577
|
+
"key": "accounts[].ataDevices[].scenes",
|
|
2578
|
+
"type": "tabarray",
|
|
2579
|
+
"title": "{{ value.name }}",
|
|
2580
|
+
"items": [
|
|
2581
|
+
{
|
|
2582
|
+
"key": "accounts[].ataDevices[].scenes[].id",
|
|
2583
|
+
"readonly": true
|
|
2584
|
+
},
|
|
2585
|
+
"accounts[].ataDevices[].scenes[].displayType",
|
|
2586
|
+
"accounts[].ataDevices[].scenes[].name",
|
|
2587
|
+
"accounts[].ataDevices[].scenes[].namePrefix"
|
|
2588
|
+
]
|
|
2589
|
+
}
|
|
2590
|
+
],
|
|
2591
|
+
"condition": {
|
|
2592
|
+
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome' && model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
|
|
2593
|
+
}
|
|
2594
|
+
},
|
|
2239
2595
|
{
|
|
2240
2596
|
"title": "Buttons / Sensors",
|
|
2241
2597
|
"type": "section",
|
|
@@ -2382,6 +2738,32 @@
|
|
|
2382
2738
|
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome' && model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayType > 0;"
|
|
2383
2739
|
}
|
|
2384
2740
|
},
|
|
2741
|
+
{
|
|
2742
|
+
"title": "Scenes",
|
|
2743
|
+
"type": "section",
|
|
2744
|
+
"description": "Section for setup device scenes",
|
|
2745
|
+
"expandable": true,
|
|
2746
|
+
"expanded": false,
|
|
2747
|
+
"items": [
|
|
2748
|
+
{
|
|
2749
|
+
"key": "accounts[].atwDevices[].scenes",
|
|
2750
|
+
"type": "tabarray",
|
|
2751
|
+
"title": "{{ value.name }}",
|
|
2752
|
+
"items": [
|
|
2753
|
+
{
|
|
2754
|
+
"key": "accounts[].atwDevices[].scenes[].id",
|
|
2755
|
+
"readonly": true
|
|
2756
|
+
},
|
|
2757
|
+
"accounts[].atwDevices[].scenes[].displayType",
|
|
2758
|
+
"accounts[].atwDevices[].scenes[].name",
|
|
2759
|
+
"accounts[].atwDevices[].scenes[].namePrefix"
|
|
2760
|
+
]
|
|
2761
|
+
}
|
|
2762
|
+
],
|
|
2763
|
+
"condition": {
|
|
2764
|
+
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome' && model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayType > 0;"
|
|
2765
|
+
}
|
|
2766
|
+
},
|
|
2385
2767
|
{
|
|
2386
2768
|
"title": "Buttons / Sensors",
|
|
2387
2769
|
"type": "section",
|
|
@@ -2534,6 +2916,32 @@
|
|
|
2534
2916
|
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome' && model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
|
|
2535
2917
|
}
|
|
2536
2918
|
},
|
|
2919
|
+
{
|
|
2920
|
+
"title": "Scenes",
|
|
2921
|
+
"type": "section",
|
|
2922
|
+
"description": "Section for setup device scenes",
|
|
2923
|
+
"expandable": true,
|
|
2924
|
+
"expanded": false,
|
|
2925
|
+
"items": [
|
|
2926
|
+
{
|
|
2927
|
+
"key": "accounts[].ervDevices[].scenes",
|
|
2928
|
+
"type": "tabarray",
|
|
2929
|
+
"title": "{{ value.name }}",
|
|
2930
|
+
"items": [
|
|
2931
|
+
{
|
|
2932
|
+
"key": "accounts[].ervDevices[].scenes[].id",
|
|
2933
|
+
"readonly": true
|
|
2934
|
+
},
|
|
2935
|
+
"accounts[].ervDevices[].scenes[].displayType",
|
|
2936
|
+
"accounts[].ervDevices[].scenes[].name",
|
|
2937
|
+
"accounts[].ervDevices[].scenes[].namePrefix"
|
|
2938
|
+
]
|
|
2939
|
+
}
|
|
2940
|
+
],
|
|
2941
|
+
"condition": {
|
|
2942
|
+
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome' && model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
|
|
2943
|
+
}
|
|
2944
|
+
},
|
|
2537
2945
|
{
|
|
2538
2946
|
"title": "Buttons / Sensors",
|
|
2539
2947
|
"type": "section",
|