homebridge-melcloud-control 4.0.0-beta.221 → 4.0.0-beta.223
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 +6 -35
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
"title": "Account Type",
|
|
206
206
|
"type": "string",
|
|
207
207
|
"default": "disabled",
|
|
208
|
-
"description": "Here select the
|
|
208
|
+
"description": "Here select the MELCloud account type.",
|
|
209
209
|
"oneOf": [
|
|
210
210
|
{
|
|
211
211
|
"title": "None/Disabled",
|
|
@@ -235,21 +235,16 @@
|
|
|
235
235
|
"properties": {
|
|
236
236
|
"id": {
|
|
237
237
|
"title": "ID",
|
|
238
|
-
"type": "string"
|
|
239
|
-
"default": "0",
|
|
240
|
-
"readonly": true
|
|
238
|
+
"type": "string"
|
|
241
239
|
},
|
|
242
240
|
"type": {
|
|
243
241
|
"title": "Type",
|
|
244
|
-
"type": "integer"
|
|
245
|
-
"default": 0,
|
|
246
|
-
"readonly": true
|
|
242
|
+
"type": "integer"
|
|
247
243
|
},
|
|
248
244
|
"typeString": {
|
|
249
245
|
"title": "Type",
|
|
250
246
|
"type": "string",
|
|
251
|
-
"default": "Air Conditioner"
|
|
252
|
-
"readonly": true
|
|
247
|
+
"default": "Air Conditioner"
|
|
253
248
|
},
|
|
254
249
|
"displayType": {
|
|
255
250
|
"title": "Display Type",
|
|
@@ -791,9 +786,6 @@
|
|
|
791
786
|
"coolDryFanMode",
|
|
792
787
|
"autoDryFanMode"
|
|
793
788
|
]
|
|
794
|
-
},
|
|
795
|
-
"condition": {
|
|
796
|
-
"functionBody": "const id = model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id; return id && id !== '0';"
|
|
797
789
|
}
|
|
798
790
|
},
|
|
799
791
|
"atwDevices": {
|
|
@@ -1671,9 +1663,6 @@
|
|
|
1671
1663
|
"required": [
|
|
1672
1664
|
"displayType"
|
|
1673
1665
|
]
|
|
1674
|
-
},
|
|
1675
|
-
"condition": {
|
|
1676
|
-
"functionBody": "const id = model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].id; return id;"
|
|
1677
1666
|
}
|
|
1678
1667
|
},
|
|
1679
1668
|
"refreshInterval": {
|
|
@@ -2057,16 +2046,7 @@
|
|
|
2057
2046
|
}
|
|
2058
2047
|
],
|
|
2059
2048
|
"condition": {
|
|
2060
|
-
"functionBody": "return model.accounts[arrayIndices].atwDevices.
|
|
2061
|
-
}
|
|
2062
|
-
},
|
|
2063
|
-
{
|
|
2064
|
-
"key": "accounts[]",
|
|
2065
|
-
"type": "tabarray",
|
|
2066
|
-
"title": "{{ value.title }}",
|
|
2067
|
-
"items": [],
|
|
2068
|
-
"condition": {
|
|
2069
|
-
"functionBody": "return model.accounts[arrayIndices].atwDevices.length === 0;"
|
|
2049
|
+
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].id !== '0';"
|
|
2070
2050
|
}
|
|
2071
2051
|
}
|
|
2072
2052
|
]
|
|
@@ -2169,16 +2149,7 @@
|
|
|
2169
2149
|
}
|
|
2170
2150
|
],
|
|
2171
2151
|
"condition": {
|
|
2172
|
-
"functionBody": "return model.accounts[arrayIndices].ervDevices.
|
|
2173
|
-
}
|
|
2174
|
-
},
|
|
2175
|
-
{
|
|
2176
|
-
"key": "accounts[]",
|
|
2177
|
-
"type": "tabarray",
|
|
2178
|
-
"title": "{{ value.title }}",
|
|
2179
|
-
"items": [],
|
|
2180
|
-
"condition": {
|
|
2181
|
-
"functionBody": "return model.accounts[arrayIndices].ervDevices.length === 0;"
|
|
2152
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].id !== '0';"
|
|
2182
2153
|
}
|
|
2183
2154
|
}
|
|
2184
2155
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.223",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|