homebridge-melcloud-control 4.5.9-beta.0 → 4.5.9-beta.1

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.
Files changed (2) hide show
  1. package/config.schema.json +69 -338
  2. package/package.json +1 -1
@@ -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,9 @@
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
- },
431
+
466
432
  {
467
433
  "title": "Motion Sensor",
468
434
  "enum": [
@@ -511,24 +477,15 @@
511
477
  "title": "Name",
512
478
  "type": "string",
513
479
  "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
- }
480
+ "description": "Here set Your own name displayed in HomeKit."
518
481
  },
519
482
  "namePrefix": {
520
483
  "title": "Prefix",
521
484
  "type": "boolean",
522
485
  "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
- }
486
+ "description": "Enable the accessory name as a prefix for preset name."
527
487
  }
528
- },
529
- "required": [
530
- "displayType"
531
- ]
488
+ }
532
489
  }
533
490
  },
534
491
  "schedules": {
@@ -547,15 +504,9 @@
547
504
  "type": "integer",
548
505
  "minimum": 0,
549
506
  "maximum": 7,
550
- "default": 0,
551
507
  "description": "Select the characteristic type to be displayed in HomeKit.",
552
508
  "anyOf": [
553
- {
554
- "title": "None / Disabled",
555
- "enum": [
556
- 0
557
- ]
558
- },
509
+
559
510
  {
560
511
  "title": "Motion Sensor",
561
512
  "enum": [
@@ -604,10 +555,7 @@
604
555
  "title": "Name",
605
556
  "type": "string",
606
557
  "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
- }
558
+ "description": "Here set Your own name displayed in HomeKit."
611
559
  },
612
560
  "namePrefix": {
613
561
  "title": "Prefix",
@@ -618,10 +566,7 @@
618
566
  "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].schedules[arrayIndices[2]].displayType > 0;"
619
567
  }
620
568
  }
621
- },
622
- "required": [
623
- "displayType"
624
- ]
569
+ }
625
570
  }
626
571
  },
627
572
  "scenes": {
@@ -640,15 +585,9 @@
640
585
  "type": "integer",
641
586
  "minimum": 0,
642
587
  "maximum": 7,
643
- "default": 0,
644
588
  "description": "Select the characteristic type to be displayed in HomeKit.",
645
589
  "anyOf": [
646
- {
647
- "title": "None / Disabled",
648
- "enum": [
649
- 0
650
- ]
651
- },
590
+
652
591
  {
653
592
  "title": "Motion Sensor",
654
593
  "enum": [
@@ -697,10 +636,7 @@
697
636
  "title": "Name",
698
637
  "type": "string",
699
638
  "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
- }
639
+ "description": "Here set Your own name displayed in HomeKit."
704
640
  },
705
641
  "namePrefix": {
706
642
  "title": "Prefix",
@@ -711,10 +647,7 @@
711
647
  "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
712
648
  }
713
649
  }
714
- },
715
- "required": [
716
- "displayType"
717
- ]
650
+ }
718
651
  }
719
652
  },
720
653
  "buttonsSensors": {
@@ -728,15 +661,9 @@
728
661
  "type": "integer",
729
662
  "minimum": 0,
730
663
  "maximum": 7,
731
- "default": 0,
732
664
  "description": "Select the characteristic type to be displayed in HomeKit.",
733
665
  "anyOf": [
734
- {
735
- "title": "None / Disabled",
736
- "enum": [
737
- 0
738
- ]
739
- },
666
+
740
667
  {
741
668
  "title": "Motion Sensor",
742
669
  "enum": [
@@ -1007,33 +934,18 @@
1007
934
  "title": "Name",
1008
935
  "type": "string",
1009
936
  "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
- }
937
+ "description": "Here set Your own name displayed in HomeKit."
1014
938
  },
1015
939
  "namePrefix": {
1016
940
  "title": "Prefix",
1017
941
  "type": "boolean",
1018
942
  "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
- }
943
+ "description": "Enable the accessory name as a prefix for button / sensor name."
1023
944
  }
1024
- },
1025
- "required": [
1026
- "displayType"
1027
- ]
945
+ }
1028
946
  }
1029
947
  }
1030
- },
1031
- "required": [
1032
- "displayType",
1033
- "heatDryFanMode",
1034
- "coolDryFanMode",
1035
- "autoDryFanMode"
1036
- ]
948
+ }
1037
949
  }
1038
950
  },
1039
951
  "atwDevices": {
@@ -1063,15 +975,8 @@
1063
975
  "type": "integer",
1064
976
  "minimum": 0,
1065
977
  "maximum": 2,
1066
- "default": 0,
1067
978
  "description": "Select accessory control type displayed in HomeKit.",
1068
979
  "anyOf": [
1069
- {
1070
- "title": "None / Disabled",
1071
- "enum": [
1072
- 0
1073
- ]
1074
- },
1075
980
  {
1076
981
  "title": "Heater / Cooler",
1077
982
  "enum": [
@@ -1091,15 +996,8 @@
1091
996
  "type": "integer",
1092
997
  "minimum": 0,
1093
998
  "maximum": 15,
1094
- "default": 0,
1095
999
  "description": "Select zone to hidde in HomeKit, if present.",
1096
1000
  "anyOf": [
1097
- {
1098
- "title": "None / Disabled",
1099
- "enum": [
1100
- 0
1101
- ]
1102
- },
1103
1001
  {
1104
1002
  "title": "Heat Pump",
1105
1003
  "enum": [
@@ -1298,15 +1196,9 @@
1298
1196
  "type": "integer",
1299
1197
  "minimum": 0,
1300
1198
  "maximum": 7,
1301
- "default": 0,
1302
1199
  "description": "Select the characteristic type to be displayed in HomeKit.",
1303
1200
  "anyOf": [
1304
- {
1305
- "title": "None / Disabled",
1306
- "enum": [
1307
- 0
1308
- ]
1309
- },
1201
+
1310
1202
  {
1311
1203
  "title": "Motion Sensor",
1312
1204
  "enum": [
@@ -1355,24 +1247,15 @@
1355
1247
  "title": "Name",
1356
1248
  "type": "string",
1357
1249
  "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
- }
1250
+ "description": "Here set Your own name displayed in HomeKit."
1362
1251
  },
1363
1252
  "namePrefix": {
1364
1253
  "title": "Prefix",
1365
1254
  "type": "boolean",
1366
1255
  "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
- }
1256
+ "description": "Enable the accessory name as a prefix for preset name."
1371
1257
  }
1372
- },
1373
- "required": [
1374
- "displayType"
1375
- ]
1258
+ }
1376
1259
  }
1377
1260
  },
1378
1261
  "schedules": {
@@ -1391,15 +1274,9 @@
1391
1274
  "type": "integer",
1392
1275
  "minimum": 0,
1393
1276
  "maximum": 7,
1394
- "default": 0,
1395
1277
  "description": "Select the characteristic type to be displayed in HomeKit.",
1396
1278
  "anyOf": [
1397
- {
1398
- "title": "None / Disabled",
1399
- "enum": [
1400
- 0
1401
- ]
1402
- },
1279
+
1403
1280
  {
1404
1281
  "title": "Motion Sensor",
1405
1282
  "enum": [
@@ -1448,24 +1325,15 @@
1448
1325
  "title": "Name",
1449
1326
  "type": "string",
1450
1327
  "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
- }
1328
+ "description": "Here set Your own name displayed in HomeKit."
1455
1329
  },
1456
1330
  "namePrefix": {
1457
1331
  "title": "Prefix",
1458
1332
  "type": "boolean",
1459
1333
  "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
- }
1334
+ "description": "Enable the accessory name as a prefix for schedule name."
1464
1335
  }
1465
- },
1466
- "required": [
1467
- "displayType"
1468
- ]
1336
+ }
1469
1337
  }
1470
1338
  },
1471
1339
  "scenes": {
@@ -1484,15 +1352,9 @@
1484
1352
  "type": "integer",
1485
1353
  "minimum": 0,
1486
1354
  "maximum": 7,
1487
- "default": 0,
1488
1355
  "description": "Select the characteristic type to be displayed in HomeKit.",
1489
1356
  "anyOf": [
1490
- {
1491
- "title": "None / Disabled",
1492
- "enum": [
1493
- 0
1494
- ]
1495
- },
1357
+
1496
1358
  {
1497
1359
  "title": "Motion Sensor",
1498
1360
  "enum": [
@@ -1541,24 +1403,15 @@
1541
1403
  "title": "Name",
1542
1404
  "type": "string",
1543
1405
  "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
- }
1406
+ "description": "Here set Your own name displayed in HomeKit."
1548
1407
  },
1549
1408
  "namePrefix": {
1550
1409
  "title": "Prefix",
1551
1410
  "type": "boolean",
1552
1411
  "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
- }
1412
+ "description": "Enable the accessory name as a prefix for scene name."
1557
1413
  }
1558
- },
1559
- "required": [
1560
- "displayType"
1561
- ]
1414
+ }
1562
1415
  }
1563
1416
  },
1564
1417
  "buttonsSensors": {
@@ -1572,15 +1425,9 @@
1572
1425
  "type": "integer",
1573
1426
  "minimum": 0,
1574
1427
  "maximum": 7,
1575
- "default": 0,
1576
1428
  "description": "Select the characteristic type to be displayed in HomeKit.",
1577
1429
  "anyOf": [
1578
- {
1579
- "title": "None / Disabled",
1580
- "enum": [
1581
- 0
1582
- ]
1583
- },
1430
+
1584
1431
  {
1585
1432
  "title": "Motion Sensor",
1586
1433
  "enum": [
@@ -1773,31 +1620,18 @@
1773
1620
  "title": "Name",
1774
1621
  "type": "string",
1775
1622
  "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
- }
1623
+ "description": "Here set Your own name displayed in HomeKit."
1780
1624
  },
1781
1625
  "namePrefix": {
1782
1626
  "title": "Prefix",
1783
1627
  "type": "boolean",
1784
1628
  "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
- }
1629
+ "description": "Enable the accessory name as a prefix for button / sensor name."
1789
1630
  }
1790
- },
1791
- "required": [
1792
- "displayType"
1793
- ]
1631
+ }
1794
1632
  }
1795
1633
  }
1796
- },
1797
- "required": [
1798
- "displayType",
1799
- "hideZone"
1800
- ]
1634
+ }
1801
1635
  }
1802
1636
  },
1803
1637
  "ervDevices": {
@@ -1827,15 +1661,9 @@
1827
1661
  "type": "integer",
1828
1662
  "minimum": 0,
1829
1663
  "maximum": 2,
1830
- "default": 0,
1831
1664
  "description": "Select accessory control type displayed in HomeKit.",
1832
1665
  "anyOf": [
1833
- {
1834
- "title": "None / Disabled",
1835
- "enum": [
1836
- 0
1837
- ]
1838
- },
1666
+
1839
1667
  {
1840
1668
  "title": "Heater / Cooler",
1841
1669
  "enum": [
@@ -1912,15 +1740,9 @@
1912
1740
  "type": "integer",
1913
1741
  "minimum": 0,
1914
1742
  "maximum": 7,
1915
- "default": 0,
1916
1743
  "description": "Select the characteristic type to be displayed in HomeKit.",
1917
1744
  "anyOf": [
1918
- {
1919
- "title": "None / Disabled",
1920
- "enum": [
1921
- 0
1922
- ]
1923
- },
1745
+
1924
1746
  {
1925
1747
  "title": "Motion Sensor",
1926
1748
  "enum": [
@@ -1969,10 +1791,7 @@
1969
1791
  "title": "Name",
1970
1792
  "type": "string",
1971
1793
  "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
- }
1794
+ "description": "Here set Your own name displayed in Homebridge / Homebridge / HomeKit app."
1976
1795
  },
1977
1796
  "namePrefix": {
1978
1797
  "title": "Prefix",
@@ -1983,10 +1802,7 @@
1983
1802
  "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
1984
1803
  }
1985
1804
  }
1986
- },
1987
- "required": [
1988
- "displayType"
1989
- ]
1805
+ }
1990
1806
  }
1991
1807
  },
1992
1808
  "schedules": {
@@ -2005,15 +1821,9 @@
2005
1821
  "type": "integer",
2006
1822
  "minimum": 0,
2007
1823
  "maximum": 7,
2008
- "default": 0,
2009
1824
  "description": "Select the characteristic type to be displayed in HomeKit.",
2010
1825
  "anyOf": [
2011
- {
2012
- "title": "None / Disabled",
2013
- "enum": [
2014
- 0
2015
- ]
2016
- },
1826
+
2017
1827
  {
2018
1828
  "title": "Motion Sensor",
2019
1829
  "enum": [
@@ -2062,24 +1872,15 @@
2062
1872
  "title": "Name",
2063
1873
  "type": "string",
2064
1874
  "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
- }
1875
+ "description": "Here set Your own name displayed in HomeKit."
2069
1876
  },
2070
1877
  "namePrefix": {
2071
1878
  "title": "Prefix",
2072
1879
  "type": "boolean",
2073
1880
  "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
- }
1881
+ "description": "Enable the accessory name as a prefix for schedule name."
2078
1882
  }
2079
- },
2080
- "required": [
2081
- "displayType"
2082
- ]
1883
+ }
2083
1884
  }
2084
1885
  },
2085
1886
  "scenes": {
@@ -2098,15 +1899,8 @@
2098
1899
  "type": "integer",
2099
1900
  "minimum": 0,
2100
1901
  "maximum": 7,
2101
- "default": 0,
2102
1902
  "description": "Select the characteristic type to be displayed in HomeKit.",
2103
1903
  "anyOf": [
2104
- {
2105
- "title": "None / Disabled",
2106
- "enum": [
2107
- 0
2108
- ]
2109
- },
2110
1904
  {
2111
1905
  "title": "Motion Sensor",
2112
1906
  "enum": [
@@ -2155,24 +1949,15 @@
2155
1949
  "title": "Name",
2156
1950
  "type": "string",
2157
1951
  "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
- }
1952
+ "description": "Here set Your own name displayed in HomeKit."
2162
1953
  },
2163
1954
  "namePrefix": {
2164
1955
  "title": "Prefix",
2165
1956
  "type": "boolean",
2166
1957
  "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
- }
1958
+ "description": "Enable the accessory name as a prefix for scene name."
2171
1959
  }
2172
- },
2173
- "required": [
2174
- "displayType"
2175
- ]
1960
+ }
2176
1961
  }
2177
1962
  },
2178
1963
  "buttonsSensors": {
@@ -2186,15 +1971,9 @@
2186
1971
  "type": "integer",
2187
1972
  "minimum": 0,
2188
1973
  "maximum": 7,
2189
- "default": 0,
2190
1974
  "description": "Select the characteristic type to be displayed in HomeKit.",
2191
1975
  "anyOf": [
2192
- {
2193
- "title": "None / Disabled",
2194
- "enum": [
2195
- 0
2196
- ]
2197
- },
1976
+
2198
1977
  {
2199
1978
  "title": "Motion Sensor",
2200
1979
  "enum": [
@@ -2330,39 +2109,24 @@
2330
2109
  18
2331
2110
  ]
2332
2111
  }
2333
- ],
2334
- "condition": {
2335
- "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].buttonsSensors[arrayIndices[2]].displayType > 0;"
2336
- }
2112
+ ]
2337
2113
  },
2338
2114
  "name": {
2339
2115
  "title": "Name",
2340
2116
  "type": "string",
2341
2117
  "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
- }
2118
+ "description": "Here set Your own name displayed in HomeKit."
2346
2119
  },
2347
2120
  "namePrefix": {
2348
2121
  "title": "Prefix",
2349
2122
  "type": "boolean",
2350
2123
  "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
- }
2124
+ "description": "Enable the accessory name as a prefix for button / sensor name."
2355
2125
  }
2356
- },
2357
- "required": [
2358
- "displayType"
2359
- ]
2126
+ }
2360
2127
  }
2361
2128
  }
2362
- },
2363
- "required": [
2364
- "displayType"
2365
- ]
2129
+ }
2366
2130
  }
2367
2131
  },
2368
2132
  "refreshInterval": {
@@ -2569,10 +2333,7 @@
2569
2333
  "accounts[].ataDevices[].frostProtectionSupport",
2570
2334
  "accounts[].ataDevices[].overheatProtectionSupport",
2571
2335
  "accounts[].ataDevices[].holidayModeSupport"
2572
- ],
2573
- "condition": {
2574
- "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
2575
- }
2336
+ ]
2576
2337
  },
2577
2338
  {
2578
2339
  "title": "Presets",
@@ -2597,7 +2358,7 @@
2597
2358
  }
2598
2359
  ],
2599
2360
  "condition": {
2600
- "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloud' && model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
2361
+ "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloud';"
2601
2362
  }
2602
2363
  },
2603
2364
  {
@@ -2623,7 +2384,7 @@
2623
2384
  }
2624
2385
  ],
2625
2386
  "condition": {
2626
- "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome' && model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
2387
+ "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
2627
2388
  }
2628
2389
  },
2629
2390
  {
@@ -2649,7 +2410,7 @@
2649
2410
  }
2650
2411
  ],
2651
2412
  "condition": {
2652
- "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome' && model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
2413
+ "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
2653
2414
  }
2654
2415
  },
2655
2416
  {
@@ -2697,15 +2458,9 @@
2697
2458
  }
2698
2459
  ]
2699
2460
  }
2700
- ],
2701
- "condition": {
2702
- "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
2703
- }
2461
+ ]
2704
2462
  }
2705
- ],
2706
- "condition": {
2707
- "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id !== '0';"
2708
- }
2463
+ ]
2709
2464
  }
2710
2465
  ]
2711
2466
  }
@@ -2738,10 +2493,7 @@
2738
2493
  "accounts[].atwDevices[].name",
2739
2494
  "accounts[].atwDevices[].frostProtectionSupport",
2740
2495
  "accounts[].atwDevices[].holidayModeSupport"
2741
- ],
2742
- "condition": {
2743
- "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayType > 0;"
2744
- }
2496
+ ]
2745
2497
  },
2746
2498
  {
2747
2499
  "title": "Presets",
@@ -2766,7 +2518,7 @@
2766
2518
  }
2767
2519
  ],
2768
2520
  "condition": {
2769
- "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloud' && model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayType > 0;"
2521
+ "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloud';"
2770
2522
  }
2771
2523
  },
2772
2524
  {
@@ -2792,7 +2544,7 @@
2792
2544
  }
2793
2545
  ],
2794
2546
  "condition": {
2795
- "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome' && model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayType > 0;"
2547
+ "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
2796
2548
  }
2797
2549
  },
2798
2550
  {
@@ -2818,7 +2570,7 @@
2818
2570
  }
2819
2571
  ],
2820
2572
  "condition": {
2821
- "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome' && model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayType > 0;"
2573
+ "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
2822
2574
  }
2823
2575
  },
2824
2576
  {
@@ -2873,15 +2625,9 @@
2873
2625
  }
2874
2626
  ]
2875
2627
  }
2876
- ],
2877
- "condition": {
2878
- "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayType > 0;"
2879
- }
2628
+ ]
2880
2629
  }
2881
- ],
2882
- "condition": {
2883
- "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].id !== '0';"
2884
- }
2630
+ ]
2885
2631
  }
2886
2632
  ]
2887
2633
  }
@@ -2912,10 +2658,7 @@
2912
2658
  "items": [
2913
2659
  "accounts[].ervDevices[].name",
2914
2660
  "accounts[].ervDevices[].holidayModeSupport"
2915
- ],
2916
- "condition": {
2917
- "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
2918
- }
2661
+ ]
2919
2662
  },
2920
2663
  {
2921
2664
  "title": "Presets",
@@ -2940,7 +2683,7 @@
2940
2683
  }
2941
2684
  ],
2942
2685
  "condition": {
2943
- "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloud' && model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
2686
+ "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloud';"
2944
2687
  }
2945
2688
  },
2946
2689
  {
@@ -2966,7 +2709,7 @@
2966
2709
  }
2967
2710
  ],
2968
2711
  "condition": {
2969
- "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome' && model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
2712
+ "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
2970
2713
  }
2971
2714
  },
2972
2715
  {
@@ -2992,7 +2735,7 @@
2992
2735
  }
2993
2736
  ],
2994
2737
  "condition": {
2995
- "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome' && model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
2738
+ "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
2996
2739
  }
2997
2740
  },
2998
2741
  {
@@ -3041,24 +2784,15 @@
3041
2784
  }
3042
2785
  ]
3043
2786
  }
3044
- ],
3045
- "condition": {
3046
- "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
3047
- }
2787
+ ]
3048
2788
  }
3049
- ],
3050
- "condition": {
3051
- "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].id !== '0';"
3052
- }
2789
+ ]
3053
2790
  }
3054
2791
  ]
3055
2792
  }
3056
2793
  ]
3057
2794
  }
3058
- ],
3059
- "condition": {
3060
- "functionBody": "return model.accounts[arrayIndices].type !== 'disabled';"
3061
- }
2795
+ ]
3062
2796
  },
3063
2797
  {
3064
2798
  "key": "accounts[]",
@@ -3134,10 +2868,7 @@
3134
2868
  }
3135
2869
  ]
3136
2870
  }
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
- }
2871
+ ]
3141
2872
  }
3142
2873
  ]
3143
2874
  }
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.0",
4
+ "version": "4.5.9-beta.1",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",