homebridge-melcloud-control 4.1.2-beta.21 → 4.1.2-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/config.schema.json +24 -16
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -235,15 +235,18 @@
|
|
|
235
235
|
"properties": {
|
|
236
236
|
"id": {
|
|
237
237
|
"title": "ID",
|
|
238
|
-
"type": "string"
|
|
238
|
+
"type": "string",
|
|
239
|
+
"default": "0"
|
|
239
240
|
},
|
|
240
241
|
"type": {
|
|
241
242
|
"title": "Type",
|
|
242
|
-
"type": "integer"
|
|
243
|
+
"type": "integer",
|
|
244
|
+
"default": 0
|
|
243
245
|
},
|
|
244
246
|
"typeString": {
|
|
245
247
|
"title": "Type",
|
|
246
|
-
"type": "string"
|
|
248
|
+
"type": "string",
|
|
249
|
+
"default": "Air Conditioner"
|
|
247
250
|
},
|
|
248
251
|
"displayType": {
|
|
249
252
|
"title": "Display Type",
|
|
@@ -276,7 +279,7 @@
|
|
|
276
279
|
"name": {
|
|
277
280
|
"title": "Name",
|
|
278
281
|
"type": "string",
|
|
279
|
-
"
|
|
282
|
+
"default": "Air Conditioner"
|
|
280
283
|
},
|
|
281
284
|
"heatDryFanMode": {
|
|
282
285
|
"title": "Heat",
|
|
@@ -450,7 +453,8 @@
|
|
|
450
453
|
"properties": {
|
|
451
454
|
"id": {
|
|
452
455
|
"title": "ID",
|
|
453
|
-
"type": "string"
|
|
456
|
+
"type": "string",
|
|
457
|
+
"default": "0"
|
|
454
458
|
},
|
|
455
459
|
"displayType": {
|
|
456
460
|
"title": "Display Type",
|
|
@@ -501,7 +505,7 @@
|
|
|
501
505
|
"name": {
|
|
502
506
|
"title": "Name",
|
|
503
507
|
"type": "string",
|
|
504
|
-
"
|
|
508
|
+
"default": "Preset",
|
|
505
509
|
"description": "Your own name displayed in Homebridge/HomeKit app.",
|
|
506
510
|
"condition": {
|
|
507
511
|
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
|
|
@@ -837,7 +841,8 @@
|
|
|
837
841
|
"properties": {
|
|
838
842
|
"id": {
|
|
839
843
|
"title": "ID",
|
|
840
|
-
"type": "string"
|
|
844
|
+
"type": "string",
|
|
845
|
+
"default": "0"
|
|
841
846
|
},
|
|
842
847
|
"type": {
|
|
843
848
|
"title": "Type",
|
|
@@ -852,7 +857,7 @@
|
|
|
852
857
|
"name": {
|
|
853
858
|
"title": "Name",
|
|
854
859
|
"type": "string",
|
|
855
|
-
"
|
|
860
|
+
"default": "Heat Pump"
|
|
856
861
|
},
|
|
857
862
|
"displayType": {
|
|
858
863
|
"title": "Display Type",
|
|
@@ -1064,7 +1069,8 @@
|
|
|
1064
1069
|
"properties": {
|
|
1065
1070
|
"id": {
|
|
1066
1071
|
"title": "ID",
|
|
1067
|
-
"type": "string"
|
|
1072
|
+
"type": "string",
|
|
1073
|
+
"default": "0"
|
|
1068
1074
|
},
|
|
1069
1075
|
"displayType": {
|
|
1070
1076
|
"title": "Display Type",
|
|
@@ -1115,7 +1121,7 @@
|
|
|
1115
1121
|
"name": {
|
|
1116
1122
|
"title": "Name",
|
|
1117
1123
|
"type": "string",
|
|
1118
|
-
"
|
|
1124
|
+
"default": "Preset",
|
|
1119
1125
|
"description": "Your own name displayed in Homebridge/HomeKit app.",
|
|
1120
1126
|
"condition": {
|
|
1121
1127
|
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
|
|
@@ -1371,7 +1377,8 @@
|
|
|
1371
1377
|
"properties": {
|
|
1372
1378
|
"id": {
|
|
1373
1379
|
"title": "ID",
|
|
1374
|
-
"type": "string"
|
|
1380
|
+
"type": "string",
|
|
1381
|
+
"default": "0"
|
|
1375
1382
|
},
|
|
1376
1383
|
"type": {
|
|
1377
1384
|
"title": "Type",
|
|
@@ -1386,7 +1393,7 @@
|
|
|
1386
1393
|
"name": {
|
|
1387
1394
|
"title": "Name",
|
|
1388
1395
|
"type": "string",
|
|
1389
|
-
"
|
|
1396
|
+
"default": "Ventilation"
|
|
1390
1397
|
},
|
|
1391
1398
|
"displayType": {
|
|
1392
1399
|
"title": "Display Type",
|
|
@@ -1457,6 +1464,7 @@
|
|
|
1457
1464
|
"id": {
|
|
1458
1465
|
"title": "ID",
|
|
1459
1466
|
"type": "string",
|
|
1467
|
+
"default": "0",
|
|
1460
1468
|
"readonly": true
|
|
1461
1469
|
},
|
|
1462
1470
|
"displayType": {
|
|
@@ -1511,7 +1519,7 @@
|
|
|
1511
1519
|
"name": {
|
|
1512
1520
|
"title": "Name",
|
|
1513
1521
|
"type": "string",
|
|
1514
|
-
"
|
|
1522
|
+
"default": "Preset",
|
|
1515
1523
|
"description": "Your own name displayed in Homebridge/HomeKit app.",
|
|
1516
1524
|
"condition": {
|
|
1517
1525
|
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
|
|
@@ -2002,7 +2010,7 @@
|
|
|
2002
2010
|
}
|
|
2003
2011
|
],
|
|
2004
2012
|
"condition": {
|
|
2005
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id !==
|
|
2013
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id !== '0';"
|
|
2006
2014
|
}
|
|
2007
2015
|
}
|
|
2008
2016
|
]
|
|
@@ -2122,7 +2130,7 @@
|
|
|
2122
2130
|
}
|
|
2123
2131
|
],
|
|
2124
2132
|
"condition": {
|
|
2125
|
-
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].id !==
|
|
2133
|
+
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].id !== '0';"
|
|
2126
2134
|
}
|
|
2127
2135
|
}
|
|
2128
2136
|
]
|
|
@@ -2235,7 +2243,7 @@
|
|
|
2235
2243
|
}
|
|
2236
2244
|
],
|
|
2237
2245
|
"condition": {
|
|
2238
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].id !==
|
|
2246
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].id !== '0';"
|
|
2239
2247
|
}
|
|
2240
2248
|
}
|
|
2241
2249
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.1.2-beta.
|
|
4
|
+
"version": "4.1.2-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",
|