homebridge-melcloud-control 4.0.0-beta.221 → 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 +3 -27
  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": {
@@ -1671,9 +1668,6 @@
1671
1668
  "required": [
1672
1669
  "displayType"
1673
1670
  ]
1674
- },
1675
- "condition": {
1676
- "functionBody": "const id = model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].id; return id;"
1677
1671
  }
1678
1672
  },
1679
1673
  "refreshInterval": {
@@ -2057,16 +2051,7 @@
2057
2051
  }
2058
2052
  ],
2059
2053
  "condition": {
2060
- "functionBody": "return model.accounts[arrayIndices].atwDevices.length > 0;"
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;"
2054
+ "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].id !== '0';"
2070
2055
  }
2071
2056
  }
2072
2057
  ]
@@ -2169,16 +2154,7 @@
2169
2154
  }
2170
2155
  ],
2171
2156
  "condition": {
2172
- "functionBody": "return model.accounts[arrayIndices].ervDevices.length > 0;"
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;"
2157
+ "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].id !== '0';"
2182
2158
  }
2183
2159
  }
2184
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.221",
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",