homebridge-melcloud-control 4.0.0-beta.476 → 4.0.0-beta.478
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 +87 -79
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -1841,94 +1841,99 @@
|
|
|
1841
1841
|
"title": "{{ value.name }}",
|
|
1842
1842
|
"items": [
|
|
1843
1843
|
{
|
|
1844
|
-
"key": "accounts[].ataDevices[]
|
|
1845
|
-
"readonly": true
|
|
1846
|
-
},
|
|
1847
|
-
{
|
|
1848
|
-
"key": "accounts[].ataDevices[].typeString",
|
|
1849
|
-
"readonly": true
|
|
1850
|
-
},
|
|
1851
|
-
"accounts[].ataDevices[].displayType",
|
|
1852
|
-
{
|
|
1853
|
-
"title": "Settings",
|
|
1854
|
-
"type": "section",
|
|
1855
|
-
"expandable": true,
|
|
1856
|
-
"expanded": false,
|
|
1857
|
-
"items": [
|
|
1858
|
-
"accounts[].ataDevices[].name",
|
|
1859
|
-
"accounts[].ataDevices[].heatDryFanMode",
|
|
1860
|
-
"accounts[].ataDevices[].coolDryFanMode",
|
|
1861
|
-
"accounts[].ataDevices[].autoDryFanMode",
|
|
1862
|
-
"accounts[].ataDevices[].refreshInterval"
|
|
1863
|
-
],
|
|
1864
|
-
"condition": {
|
|
1865
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
|
|
1866
|
-
}
|
|
1867
|
-
},
|
|
1868
|
-
{
|
|
1869
|
-
"title": "Temperature Sensors",
|
|
1870
|
-
"type": "section",
|
|
1871
|
-
"expandable": true,
|
|
1872
|
-
"expanded": false,
|
|
1873
|
-
"items": [
|
|
1874
|
-
"accounts[].ataDevices[].temperatureSensor",
|
|
1875
|
-
"accounts[].ataDevices[].temperatureSensorOutdoor"
|
|
1876
|
-
],
|
|
1877
|
-
"condition": {
|
|
1878
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
|
|
1879
|
-
}
|
|
1880
|
-
},
|
|
1881
|
-
{
|
|
1882
|
-
"title": "Presets",
|
|
1883
|
-
"type": "section",
|
|
1884
|
-
"expandable": true,
|
|
1885
|
-
"expanded": false,
|
|
1844
|
+
"key": "accounts[].ataDevices[]",
|
|
1886
1845
|
"items": [
|
|
1887
1846
|
{
|
|
1888
|
-
"key": "accounts[].ataDevices[].
|
|
1889
|
-
"
|
|
1890
|
-
|
|
1847
|
+
"key": "accounts[].ataDevices[].id",
|
|
1848
|
+
"readonly": true
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"key": "accounts[].ataDevices[].typeString",
|
|
1852
|
+
"readonly": true
|
|
1853
|
+
},
|
|
1854
|
+
"accounts[].ataDevices[].displayType",
|
|
1855
|
+
{
|
|
1856
|
+
"title": "Settings",
|
|
1857
|
+
"type": "section",
|
|
1858
|
+
"expandable": true,
|
|
1859
|
+
"expanded": false,
|
|
1860
|
+
"items": [
|
|
1861
|
+
"accounts[].ataDevices[].name",
|
|
1862
|
+
"accounts[].ataDevices[].heatDryFanMode",
|
|
1863
|
+
"accounts[].ataDevices[].coolDryFanMode",
|
|
1864
|
+
"accounts[].ataDevices[].autoDryFanMode",
|
|
1865
|
+
"accounts[].ataDevices[].refreshInterval"
|
|
1866
|
+
],
|
|
1867
|
+
"condition": {
|
|
1868
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
|
|
1869
|
+
}
|
|
1870
|
+
},
|
|
1871
|
+
{
|
|
1872
|
+
"title": "Temperature Sensors",
|
|
1873
|
+
"type": "section",
|
|
1874
|
+
"expandable": true,
|
|
1875
|
+
"expanded": false,
|
|
1876
|
+
"items": [
|
|
1877
|
+
"accounts[].ataDevices[].temperatureSensor",
|
|
1878
|
+
"accounts[].ataDevices[].temperatureSensorOutdoor"
|
|
1879
|
+
],
|
|
1880
|
+
"condition": {
|
|
1881
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
|
|
1882
|
+
}
|
|
1883
|
+
},
|
|
1884
|
+
{
|
|
1885
|
+
"title": "Presets",
|
|
1886
|
+
"type": "section",
|
|
1887
|
+
"expandable": true,
|
|
1888
|
+
"expanded": false,
|
|
1891
1889
|
"items": [
|
|
1892
1890
|
{
|
|
1893
|
-
"key": "accounts[].ataDevices[].presets
|
|
1894
|
-
"
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
"items": [
|
|
1891
|
+
"key": "accounts[].ataDevices[].presets",
|
|
1892
|
+
"type": "tabarray",
|
|
1893
|
+
"title": "{{ value.name }}",
|
|
1894
|
+
"items": [
|
|
1895
|
+
{
|
|
1896
|
+
"key": "accounts[].ataDevices[].presets[].id",
|
|
1897
|
+
"readonly": true
|
|
1898
|
+
},
|
|
1899
|
+
"accounts[].ataDevices[].presets[].displayType",
|
|
1900
|
+
"accounts[].ataDevices[].presets[].name",
|
|
1901
|
+
"accounts[].ataDevices[].presets[].namePrefix"
|
|
1902
|
+
]
|
|
1903
|
+
}
|
|
1904
|
+
],
|
|
1905
|
+
"condition": {
|
|
1906
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
|
|
1907
|
+
}
|
|
1908
|
+
},
|
|
1912
1909
|
{
|
|
1913
|
-
"
|
|
1914
|
-
"type": "
|
|
1915
|
-
"
|
|
1910
|
+
"title": "Buttons / Sensors",
|
|
1911
|
+
"type": "section",
|
|
1912
|
+
"expandable": true,
|
|
1913
|
+
"expanded": false,
|
|
1916
1914
|
"items": [
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1915
|
+
{
|
|
1916
|
+
"key": "accounts[].ataDevices[].buttonsSensors",
|
|
1917
|
+
"type": "tabarray",
|
|
1918
|
+
"title": "{{ value.name || 'button/sensor' }}",
|
|
1919
|
+
"items": [
|
|
1920
|
+
"accounts[].ataDevices[].buttonsSensors[].displayType",
|
|
1921
|
+
"accounts[].ataDevices[].buttonsSensors[].mode",
|
|
1922
|
+
"accounts[].ataDevices[].buttonsSensors[].name",
|
|
1923
|
+
"accounts[].ataDevices[].buttonsSensors[].namePrefix"
|
|
1924
|
+
]
|
|
1925
|
+
}
|
|
1926
|
+
],
|
|
1927
|
+
"condition": {
|
|
1928
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
|
|
1929
|
+
}
|
|
1922
1930
|
}
|
|
1923
1931
|
],
|
|
1924
1932
|
"condition": {
|
|
1925
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].
|
|
1933
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id !== '0';"
|
|
1926
1934
|
}
|
|
1927
1935
|
}
|
|
1928
|
-
]
|
|
1929
|
-
"condition": {
|
|
1930
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id !== '0';"
|
|
1931
|
-
}
|
|
1936
|
+
]
|
|
1932
1937
|
}
|
|
1933
1938
|
]
|
|
1934
1939
|
},
|
|
@@ -2145,7 +2150,10 @@
|
|
|
2145
2150
|
}
|
|
2146
2151
|
]
|
|
2147
2152
|
}
|
|
2148
|
-
]
|
|
2153
|
+
],
|
|
2154
|
+
"condition": {
|
|
2155
|
+
"functionBody": "return model.accounts[arrayIndices].type > 0;"
|
|
2156
|
+
}
|
|
2149
2157
|
},
|
|
2150
2158
|
{
|
|
2151
2159
|
"key": "accounts[]",
|
|
@@ -2225,7 +2233,7 @@
|
|
|
2225
2233
|
}
|
|
2226
2234
|
],
|
|
2227
2235
|
"condition": {
|
|
2228
|
-
"functionBody": "return model.accounts[arrayIndices].ataDevices.length > 0 || model.accounts[arrayIndices].atwDevices.length > 0 || model.accounts[arrayIndices].ervDevices.length > 0;"
|
|
2236
|
+
"functionBody": "return model.accounts[arrayIndices].type > 0 && (model.accounts[arrayIndices].ataDevices.length > 0 || model.accounts[arrayIndices].atwDevices.length > 0 || model.accounts[arrayIndices].ervDevices.length > 0);"
|
|
2229
2237
|
}
|
|
2230
2238
|
}
|
|
2231
2239
|
]
|
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.478",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|