homebridge-melcloud-control 3.10.0-beta.25 → 3.10.0-beta.26

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 +60 -21
  2. package/package.json +1 -1
@@ -225,11 +225,6 @@
225
225
  "default": "Air Conditioner",
226
226
  "readonly": true
227
227
  },
228
- "name": {
229
- "title": "Name",
230
- "type": "string",
231
- "default": "Air Conditioner"
232
- },
233
228
  "displayMode": {
234
229
  "title": "Display Type",
235
230
  "type": "integer",
@@ -258,6 +253,11 @@
258
253
  }
259
254
  ]
260
255
  },
256
+ "name": {
257
+ "title": "Name",
258
+ "type": "string",
259
+ "default": "Air Conditioner"
260
+ },
261
261
  "heatDryFanMode": {
262
262
  "title": "Heat",
263
263
  "type": "integer",
@@ -1857,6 +1857,7 @@
1857
1857
  "key": "accounts[].ataDevices[].typeString",
1858
1858
  "readonly": true
1859
1859
  },
1860
+ "accounts[].ataDevices[].displayMode",
1860
1861
  {
1861
1862
  "key": "accounts[].ataDevices[]",
1862
1863
  "title": "Settings",
@@ -1864,13 +1865,15 @@
1864
1865
  "expandable": true,
1865
1866
  "expanded": false,
1866
1867
  "items": [
1867
- "accounts[].ataDevices[].displayMode",
1868
1868
  "accounts[].ataDevices[].name",
1869
1869
  "accounts[].ataDevices[].heatDryFanMode",
1870
1870
  "accounts[].ataDevices[].coolDryFanMode",
1871
1871
  "accounts[].ataDevices[].autoDryFanMode",
1872
1872
  "accounts[].ataDevices[].refreshInterval"
1873
- ]
1873
+ ],
1874
+ "condition": {
1875
+ "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayMode > 0;"
1876
+ }
1874
1877
  },
1875
1878
  {
1876
1879
  "key": "accounts[].ataDevices[]",
@@ -1881,7 +1884,10 @@
1881
1884
  "items": [
1882
1885
  "accounts[].ataDevices[].temperatureSensor",
1883
1886
  "accounts[].ataDevices[].temperatureSensorOutdoor"
1884
- ]
1887
+ ],
1888
+ "condition": {
1889
+ "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayMode > 0;"
1890
+ }
1885
1891
  },
1886
1892
  {
1887
1893
  "key": "accounts[].ataDevices[].presets",
@@ -1904,7 +1910,10 @@
1904
1910
  "accounts[].ataDevices[].presets[].namePrefix"
1905
1911
  ]
1906
1912
  }
1907
- ]
1913
+ ],
1914
+ "condition": {
1915
+ "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayMode > 0;"
1916
+ }
1908
1917
  },
1909
1918
  {
1910
1919
  "key": "accounts[].ataDevices[].buttonsSensors",
@@ -1924,7 +1933,10 @@
1924
1933
  "accounts[].ataDevices[].buttonsSensors[].namePrefix"
1925
1934
  ]
1926
1935
  }
1927
- ]
1936
+ ],
1937
+ "condition": {
1938
+ "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayMode > 0;"
1939
+ }
1928
1940
  }
1929
1941
  ],
1930
1942
  "condition": {
@@ -1959,6 +1971,7 @@
1959
1971
  "key": "accounts[].atwDevices[].typeString",
1960
1972
  "readonly": true
1961
1973
  },
1974
+ "accounts[].atwDevices[].displayMode",
1962
1975
  {
1963
1976
  "key": "accounts[].atwDevices[]",
1964
1977
  "type": "section",
@@ -1966,11 +1979,13 @@
1966
1979
  "expandable": true,
1967
1980
  "expanded": false,
1968
1981
  "items": [
1969
- "accounts[].atwDevices[].displayMode",
1970
1982
  "accounts[].atwDevices[].hideZone",
1971
1983
  "accounts[].atwDevices[].name",
1972
1984
  "accounts[].atwDevices[].refreshInterval"
1973
- ]
1985
+ ],
1986
+ "condition": {
1987
+ "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayMode > 0;"
1988
+ }
1974
1989
  },
1975
1990
  {
1976
1991
  "key": "accounts[].atwDevices[]",
@@ -1988,7 +2003,10 @@
1988
2003
  "accounts[].atwDevices[].temperatureSensorReturnWaterTank",
1989
2004
  "accounts[].atwDevices[].temperatureSensorFlowZone2",
1990
2005
  "accounts[].atwDevices[].temperatureSensorReturnZone2"
1991
- ]
2006
+ ],
2007
+ "condition": {
2008
+ "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayMode > 0;"
2009
+ }
1992
2010
  },
1993
2011
  {
1994
2012
  "key": "accounts[].atwDevices[].presets",
@@ -2011,7 +2029,10 @@
2011
2029
  "accounts[].atwDevices[].presets[].namePrefix"
2012
2030
  ]
2013
2031
  }
2014
- ]
2032
+ ],
2033
+ "condition": {
2034
+ "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayMode > 0;"
2035
+ }
2015
2036
  },
2016
2037
  {
2017
2038
  "key": "accounts[].atwDevices[].buttonsSensors",
@@ -2031,7 +2052,10 @@
2031
2052
  "accounts[].atwDevices[].buttonsSensors[].namePrefix"
2032
2053
  ]
2033
2054
  }
2034
- ]
2055
+ ],
2056
+ "condition": {
2057
+ "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayMode > 0;"
2058
+ }
2035
2059
  }
2036
2060
  ],
2037
2061
  "condition": {
@@ -2066,6 +2090,7 @@
2066
2090
  "key": "accounts[].ervDevices[].typeString",
2067
2091
  "readonly": true
2068
2092
  },
2093
+ "accounts[].ervDevices[].displayMode",
2069
2094
  {
2070
2095
  "key": "accounts[].ervDevices[]",
2071
2096
  "title": "Settings",
@@ -2073,10 +2098,12 @@
2073
2098
  "expandable": true,
2074
2099
  "expanded": false,
2075
2100
  "items": [
2076
- "accounts[].ervDevices[].displayMode",
2077
2101
  "accounts[].ervDevices[].name",
2078
2102
  "accounts[].ervDevices[].refreshInterval"
2079
- ]
2103
+ ],
2104
+ "condition": {
2105
+ "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayMode > 0;"
2106
+ }
2080
2107
  },
2081
2108
  {
2082
2109
  "key": "accounts[].ervDevices[]",
@@ -2088,7 +2115,10 @@
2088
2115
  "accounts[].ervDevices[].temperatureSensor",
2089
2116
  "accounts[].ervDevices[].temperatureSensorOutdoor",
2090
2117
  "accounts[].ervDevices[].temperatureSensorSupply"
2091
- ]
2118
+ ],
2119
+ "condition": {
2120
+ "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayMode > 0;"
2121
+ }
2092
2122
  },
2093
2123
  {
2094
2124
  "key": "accounts[].ervDevices[].presets",
@@ -2111,7 +2141,10 @@
2111
2141
  "accounts[].ervDevices[].presets[].namePrefix"
2112
2142
  ]
2113
2143
  }
2114
- ]
2144
+ ],
2145
+ "condition": {
2146
+ "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayMode > 0;"
2147
+ }
2115
2148
  },
2116
2149
  {
2117
2150
  "key": "accounts[].ervDevices[].buttonsSensors",
@@ -2131,7 +2164,10 @@
2131
2164
  "accounts[].ervDevices[].buttonsSensors[].namePrefix"
2132
2165
  ]
2133
2166
  }
2134
- ]
2167
+ ],
2168
+ "condition": {
2169
+ "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayMode > 0;"
2170
+ }
2135
2171
  }
2136
2172
  ],
2137
2173
  "condition": {
@@ -2229,7 +2265,10 @@
2229
2265
  }
2230
2266
  ]
2231
2267
  }
2232
- ]
2268
+ ],
2269
+ "condition": {
2270
+ "functionBody": "return model.accounts[arrayIndices].ataDevices.length > 0 || model.accounts[arrayIndices].atwDevices.length > 0 || model.accounts[arrayIndices].ervDevices.length > 0;"
2271
+ }
2233
2272
  }
2234
2273
  ]
2235
2274
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "3.10.0-beta.25",
4
+ "version": "3.10.0-beta.26",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",