homebridge-melcloud-control 4.0.0-beta.227 → 4.0.0-beta.228

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 +160 -158
  2. package/package.json +1 -1
@@ -1841,103 +1841,104 @@
1841
1841
  "type": "tabarray",
1842
1842
  "title": "{{ value.name }}",
1843
1843
  "items": [
1844
- "accounts[].ataDevices[].displayType",
1845
1844
  {
1846
1845
  "key": "accounts[].ataDevices[]",
1847
- "title": "Settings",
1848
- "type": "section",
1849
- "expandable": true,
1850
- "expanded": false,
1851
1846
  "items": [
1847
+ "accounts[].ataDevices[].displayType",
1852
1848
  {
1853
- "key": "accounts[].ataDevices[].id",
1854
- "readonly": true
1855
- },
1856
- {
1857
- "key": "accounts[].ataDevices[].type",
1858
- "readonly": true
1849
+ "title": "Settings",
1850
+ "type": "section",
1851
+ "expandable": true,
1852
+ "expanded": false,
1853
+ "items": [
1854
+ {
1855
+ "key": "accounts[].ataDevices[].id",
1856
+ "readonly": true
1857
+ },
1858
+ {
1859
+ "key": "accounts[].ataDevices[].type",
1860
+ "readonly": true
1861
+ },
1862
+ {
1863
+ "key": "accounts[].ataDevices[].typeString",
1864
+ "readonly": true
1865
+ },
1866
+ "accounts[].ataDevices[].name",
1867
+ "accounts[].ataDevices[].heatDryFanMode",
1868
+ "accounts[].ataDevices[].coolDryFanMode",
1869
+ "accounts[].ataDevices[].autoDryFanMode",
1870
+ "accounts[].ataDevices[].refreshInterval"
1871
+ ],
1872
+ "condition": {
1873
+ "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
1874
+ }
1859
1875
  },
1860
1876
  {
1861
- "key": "accounts[].ataDevices[].typeString",
1862
- "readonly": true
1877
+ "title": "Temperature Sensors",
1878
+ "type": "section",
1879
+ "expandable": true,
1880
+ "expanded": false,
1881
+ "items": [
1882
+ "accounts[].ataDevices[].temperatureSensor",
1883
+ "accounts[].ataDevices[].temperatureSensorOutdoor"
1884
+ ],
1885
+ "condition": {
1886
+ "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
1887
+ }
1863
1888
  },
1864
- "accounts[].ataDevices[].name",
1865
- "accounts[].ataDevices[].heatDryFanMode",
1866
- "accounts[].ataDevices[].coolDryFanMode",
1867
- "accounts[].ataDevices[].autoDryFanMode",
1868
- "accounts[].ataDevices[].refreshInterval"
1869
- ],
1870
- "condition": {
1871
- "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
1872
- }
1873
- },
1874
- {
1875
- "key": "accounts[].ataDevices[]",
1876
- "title": "Temperature Sensors",
1877
- "type": "section",
1878
- "expandable": true,
1879
- "expanded": false,
1880
- "items": [
1881
- "accounts[].ataDevices[].temperatureSensor",
1882
- "accounts[].ataDevices[].temperatureSensorOutdoor"
1883
- ],
1884
- "condition": {
1885
- "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
1886
- }
1887
- },
1888
- {
1889
- "key": "accounts[].ataDevices[].presets",
1890
- "title": "Presets",
1891
- "type": "section",
1892
- "expandable": true,
1893
- "expanded": false,
1894
- "items": [
1895
1889
  {
1896
- "key": "accounts[].ataDevices[].presets",
1897
- "type": "tabarray",
1898
- "title": "{{ value.name }}",
1890
+ "title": "Presets",
1891
+ "type": "section",
1892
+ "expandable": true,
1893
+ "expanded": false,
1899
1894
  "items": [
1900
1895
  {
1901
- "key": "accounts[].ataDevices[].presets[].id",
1902
- "readonly": true
1903
- },
1904
- "accounts[].ataDevices[].presets[].displayType",
1905
- "accounts[].ataDevices[].presets[].name",
1906
- "accounts[].ataDevices[].presets[].namePrefix"
1907
- ]
1908
- }
1909
- ],
1910
- "condition": {
1911
- "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
1912
- }
1913
- },
1914
- {
1915
- "key": "accounts[].ataDevices[].buttonsSensors",
1916
- "title": "Buttons / Sensors",
1917
- "type": "section",
1918
- "expandable": true,
1919
- "expanded": false,
1920
- "items": [
1896
+ "key": "accounts[].ataDevices[].presets",
1897
+ "type": "tabarray",
1898
+ "title": "{{ value.name }}",
1899
+ "items": [
1900
+ {
1901
+ "key": "accounts[].ataDevices[].presets[].id",
1902
+ "readonly": true
1903
+ },
1904
+ "accounts[].ataDevices[].presets[].displayType",
1905
+ "accounts[].ataDevices[].presets[].name",
1906
+ "accounts[].ataDevices[].presets[].namePrefix"
1907
+ ]
1908
+ }
1909
+ ],
1910
+ "condition": {
1911
+ "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
1912
+ }
1913
+ },
1921
1914
  {
1922
- "key": "accounts[].ataDevices[].buttonsSensors",
1923
- "type": "tabarray",
1924
- "title": "{{ value.name || 'button/sensor' }}",
1915
+ "title": "Buttons / Sensors",
1916
+ "type": "section",
1917
+ "expandable": true,
1918
+ "expanded": false,
1925
1919
  "items": [
1926
- "accounts[].ataDevices[].buttonsSensors[].displayType",
1927
- "accounts[].ataDevices[].buttonsSensors[].mode",
1928
- "accounts[].ataDevices[].buttonsSensors[].name",
1929
- "accounts[].ataDevices[].buttonsSensors[].namePrefix"
1930
- ]
1920
+ {
1921
+ "key": "accounts[].ataDevices[].buttonsSensors",
1922
+ "type": "tabarray",
1923
+ "title": "{{ value.name || 'button/sensor' }}",
1924
+ "items": [
1925
+ "accounts[].ataDevices[].buttonsSensors[].displayType",
1926
+ "accounts[].ataDevices[].buttonsSensors[].mode",
1927
+ "accounts[].ataDevices[].buttonsSensors[].name",
1928
+ "accounts[].ataDevices[].buttonsSensors[].namePrefix"
1929
+ ]
1930
+ }
1931
+ ],
1932
+ "condition": {
1933
+ "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
1934
+ }
1931
1935
  }
1932
1936
  ],
1933
1937
  "condition": {
1934
- "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
1938
+ "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id !== '0';"
1935
1939
  }
1936
1940
  }
1937
- ],
1938
- "condition": {
1939
- "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id !== '0';"
1940
- }
1941
+ ]
1941
1942
  }
1942
1943
  ]
1943
1944
  },
@@ -2065,101 +2066,102 @@
2065
2066
  "type": "tabarray",
2066
2067
  "title": "{{ value.name }}",
2067
2068
  "items": [
2068
- "accounts[].ervDevices[].displayType",
2069
2069
  {
2070
2070
  "key": "accounts[].ervDevices[]",
2071
- "title": "Settings",
2072
- "type": "section",
2073
- "expandable": true,
2074
- "expanded": false,
2075
2071
  "items": [
2072
+ "accounts[].ervDevices[].displayType",
2076
2073
  {
2077
- "key": "accounts[].ervDevices[].id",
2078
- "readonly": true
2079
- },
2080
- {
2081
- "key": "accounts[].ervDevices[].type",
2082
- "readonly": true
2074
+ "title": "Settings",
2075
+ "type": "section",
2076
+ "expandable": true,
2077
+ "expanded": false,
2078
+ "items": [
2079
+ {
2080
+ "key": "accounts[].ervDevices[].id",
2081
+ "readonly": true
2082
+ },
2083
+ {
2084
+ "key": "accounts[].ervDevices[].type",
2085
+ "readonly": true
2086
+ },
2087
+ {
2088
+ "key": "accounts[].ervDevices[].typeString",
2089
+ "readonly": true
2090
+ },
2091
+ "accounts[].ervDevices[].name",
2092
+ "accounts[].ervDevices[].refreshInterval"
2093
+ ],
2094
+ "condition": {
2095
+ "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
2096
+ }
2083
2097
  },
2084
2098
  {
2085
- "key": "accounts[].ervDevices[].typeString",
2086
- "readonly": true
2099
+ "title": "Temperature Sensors",
2100
+ "type": "section",
2101
+ "expandable": true,
2102
+ "expanded": false,
2103
+ "items": [
2104
+ "accounts[].ervDevices[].temperatureSensor",
2105
+ "accounts[].ervDevices[].temperatureSensorOutdoor",
2106
+ "accounts[].ervDevices[].temperatureSensorSupply"
2107
+ ],
2108
+ "condition": {
2109
+ "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
2110
+ }
2087
2111
  },
2088
- "accounts[].ervDevices[].name",
2089
- "accounts[].ervDevices[].refreshInterval"
2090
- ],
2091
- "condition": {
2092
- "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
2093
- }
2094
- },
2095
- {
2096
- "key": "accounts[].ervDevices[]",
2097
- "title": "Temperature Sensors",
2098
- "type": "section",
2099
- "expandable": true,
2100
- "expanded": false,
2101
- "items": [
2102
- "accounts[].ervDevices[].temperatureSensor",
2103
- "accounts[].ervDevices[].temperatureSensorOutdoor",
2104
- "accounts[].ervDevices[].temperatureSensorSupply"
2105
- ],
2106
- "condition": {
2107
- "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
2108
- }
2109
- },
2110
- {
2111
- "key": "accounts[].ervDevices[].presets",
2112
- "title": "Presets",
2113
- "type": "section",
2114
- "expandable": true,
2115
- "expanded": false,
2116
- "items": [
2117
2112
  {
2118
- "key": "accounts[].ervDevices[].presets",
2119
- "type": "tabarray",
2120
- "title": "{{ value.name }}",
2113
+ "title": "Presets",
2114
+ "type": "section",
2115
+ "expandable": true,
2116
+ "expanded": false,
2121
2117
  "items": [
2122
2118
  {
2123
- "key": "accounts[].ervDevices[].presets[].id",
2124
- "readonly": true
2125
- },
2126
- "accounts[].ervDevices[].presets[].displayType",
2127
- "accounts[].ervDevices[].presets[].name",
2128
- "accounts[].ervDevices[].presets[].namePrefix"
2129
- ]
2130
- }
2131
- ],
2132
- "condition": {
2133
- "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
2134
- }
2135
- },
2136
- {
2137
- "key": "accounts[].ervDevices[].buttonsSensors",
2138
- "title": "Buttons / Sensors",
2139
- "type": "section",
2140
- "expandable": true,
2141
- "expanded": false,
2142
- "items": [
2119
+ "key": "accounts[].ervDevices[].presets",
2120
+ "type": "tabarray",
2121
+ "title": "{{ value.name }}",
2122
+ "items": [
2123
+ {
2124
+ "key": "accounts[].ervDevices[].presets[].id",
2125
+ "readonly": true
2126
+ },
2127
+ "accounts[].ervDevices[].presets[].displayType",
2128
+ "accounts[].ervDevices[].presets[].name",
2129
+ "accounts[].ervDevices[].presets[].namePrefix"
2130
+ ]
2131
+ }
2132
+ ],
2133
+ "condition": {
2134
+ "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
2135
+ }
2136
+ },
2143
2137
  {
2144
- "key": "accounts[].ervDevices[].buttonsSensors",
2145
- "type": "tabarray",
2146
- "title": "{{ value.name || 'button/sensor' }}",
2138
+ "title": "Buttons / Sensors",
2139
+ "type": "section",
2140
+ "expandable": true,
2141
+ "expanded": false,
2147
2142
  "items": [
2148
- "accounts[].ervDevices[].buttonsSensors[].displayType",
2149
- "accounts[].ervDevices[].buttonsSensors[].mode",
2150
- "accounts[].ervDevices[].buttonsSensors[].name",
2151
- "accounts[].ervDevices[].buttonsSensors[].namePrefix"
2152
- ]
2143
+ {
2144
+ "key": "accounts[].ervDevices[].buttonsSensors",
2145
+ "type": "tabarray",
2146
+ "title": "{{ value.name || 'button/sensor' }}",
2147
+ "items": [
2148
+ "accounts[].ervDevices[].buttonsSensors[].displayType",
2149
+ "accounts[].ervDevices[].buttonsSensors[].mode",
2150
+ "accounts[].ervDevices[].buttonsSensors[].name",
2151
+ "accounts[].ervDevices[].buttonsSensors[].namePrefix"
2152
+ ]
2153
+ }
2154
+ ],
2155
+ "condition": {
2156
+ "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
2157
+ }
2153
2158
  }
2154
2159
  ],
2155
2160
  "condition": {
2156
- "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayType > 0;"
2161
+ "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].id !== '0';"
2157
2162
  }
2158
2163
  }
2159
- ],
2160
- "condition": {
2161
- "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].id !== '0';"
2162
- }
2164
+ ]
2163
2165
  }
2164
2166
  ]
2165
2167
  }
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.227",
4
+ "version": "4.0.0-beta.228",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",