homebridge-melcloud-control 4.0.0-beta.220 → 4.0.0-beta.222

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 +8 -35
  2. package/package.json +1 -1
@@ -205,7 +205,7 @@
205
205
  "title": "Account Type",
206
206
  "type": "string",
207
207
  "default": "disabled",
208
- "description": "Here select the language used in MELCloud account.",
208
+ "description": "Here select the MELCloud account type.",
209
209
  "oneOf": [
210
210
  {
211
211
  "title": "None/Disabled",
@@ -791,9 +791,6 @@
791
791
  "coolDryFanMode",
792
792
  "autoDryFanMode"
793
793
  ]
794
- },
795
- "condition": {
796
- "functionBody": "const id = model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id; return id && id !== '0';"
797
794
  }
798
795
  },
799
796
  "atwDevices": {
@@ -1326,9 +1323,6 @@
1326
1323
  "displayType",
1327
1324
  "hideZone"
1328
1325
  ]
1329
- },
1330
- "condition": {
1331
- "functionBody": "const id = model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].id; return id && id !== '0';"
1332
1326
  }
1333
1327
  },
1334
1328
  "ervDevices": {
@@ -1674,9 +1668,6 @@
1674
1668
  "required": [
1675
1669
  "displayType"
1676
1670
  ]
1677
- },
1678
- "condition": {
1679
- "functionBody": "const id = model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].id; return id;"
1680
1671
  }
1681
1672
  },
1682
1673
  "refreshInterval": {
@@ -1948,12 +1939,12 @@
1948
1939
  "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
1949
1940
  }
1950
1941
  }
1951
- ]
1942
+ ],
1943
+ "condition": {
1944
+ "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id !== '0';"
1945
+ }
1952
1946
  }
1953
- ],
1954
- "condition": {
1955
- "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id !== '0';"
1956
- }
1947
+ ]
1957
1948
  },
1958
1949
  {
1959
1950
  "key": "accounts[]",
@@ -2060,16 +2051,7 @@
2060
2051
  }
2061
2052
  ],
2062
2053
  "condition": {
2063
- "functionBody": "return model.accounts[arrayIndices].atwDevices.length > 0;"
2064
- }
2065
- },
2066
- {
2067
- "key": "accounts[]",
2068
- "type": "tabarray",
2069
- "title": "{{ value.title }}",
2070
- "items": [],
2071
- "condition": {
2072
- "functionBody": "return model.accounts[arrayIndices].atwDevices.length === 0;"
2054
+ "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].id !== '0';"
2073
2055
  }
2074
2056
  }
2075
2057
  ]
@@ -2172,16 +2154,7 @@
2172
2154
  }
2173
2155
  ],
2174
2156
  "condition": {
2175
- "functionBody": "return model.accounts[arrayIndices].ervDevices.length > 0;"
2176
- }
2177
- },
2178
- {
2179
- "key": "accounts[]",
2180
- "type": "tabarray",
2181
- "title": "{{ value.title }}",
2182
- "items": [],
2183
- "condition": {
2184
- "functionBody": "return model.accounts[arrayIndices].ervDevices.length === 0;"
2157
+ "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].id !== '0';"
2185
2158
  }
2186
2159
  }
2187
2160
  ]
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.220",
4
+ "version": "4.0.0-beta.222",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",