homebridge-melcloud-control 4.0.0-beta.474 → 4.0.0-beta.475
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 +83 -79
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -1833,103 +1833,107 @@
|
|
|
1833
1833
|
"title": "{{ value.title }}",
|
|
1834
1834
|
"items": [
|
|
1835
1835
|
{
|
|
1836
|
-
"key": "accounts[]",
|
|
1837
1836
|
"title": "Air Conditioner",
|
|
1838
1837
|
"items": [
|
|
1839
1838
|
{
|
|
1840
|
-
"key": "accounts[].ataDevices
|
|
1839
|
+
"key": "accounts[].ataDevices",
|
|
1841
1840
|
"type": "tabarray",
|
|
1842
1841
|
"title": "{{ value.name }}",
|
|
1843
1842
|
"items": [
|
|
1844
1843
|
{
|
|
1845
|
-
"key": "accounts[].ataDevices[]
|
|
1846
|
-
"readonly": true
|
|
1847
|
-
},
|
|
1848
|
-
{
|
|
1849
|
-
"key": "accounts[].ataDevices[].typeString",
|
|
1850
|
-
"readonly": true
|
|
1851
|
-
},
|
|
1852
|
-
"accounts[].ataDevices[].displayType",
|
|
1853
|
-
{
|
|
1854
|
-
"title": "Settings",
|
|
1855
|
-
"type": "section",
|
|
1856
|
-
"expandable": true,
|
|
1857
|
-
"expanded": false,
|
|
1858
|
-
"items": [
|
|
1859
|
-
"accounts[].ataDevices[].name",
|
|
1860
|
-
"accounts[].ataDevices[].heatDryFanMode",
|
|
1861
|
-
"accounts[].ataDevices[].coolDryFanMode",
|
|
1862
|
-
"accounts[].ataDevices[].autoDryFanMode",
|
|
1863
|
-
"accounts[].ataDevices[].refreshInterval"
|
|
1864
|
-
],
|
|
1865
|
-
"condition": {
|
|
1866
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
|
|
1867
|
-
}
|
|
1868
|
-
},
|
|
1869
|
-
{
|
|
1870
|
-
"title": "Temperature Sensors",
|
|
1871
|
-
"type": "section",
|
|
1872
|
-
"expandable": true,
|
|
1873
|
-
"expanded": false,
|
|
1874
|
-
"items": [
|
|
1875
|
-
"accounts[].ataDevices[].temperatureSensor",
|
|
1876
|
-
"accounts[].ataDevices[].temperatureSensorOutdoor"
|
|
1877
|
-
],
|
|
1878
|
-
"condition": {
|
|
1879
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
|
|
1880
|
-
}
|
|
1881
|
-
},
|
|
1882
|
-
{
|
|
1883
|
-
"title": "Presets",
|
|
1884
|
-
"type": "section",
|
|
1885
|
-
"expandable": true,
|
|
1886
|
-
"expanded": false,
|
|
1844
|
+
"key": "accounts[].ataDevices[]",
|
|
1887
1845
|
"items": [
|
|
1888
1846
|
{
|
|
1889
|
-
"key": "accounts[].ataDevices[].
|
|
1890
|
-
"
|
|
1891
|
-
|
|
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,
|
|
1892
1889
|
"items": [
|
|
1893
1890
|
{
|
|
1894
|
-
"key": "accounts[].ataDevices[].presets
|
|
1895
|
-
"
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
"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
|
+
},
|
|
1913
1909
|
{
|
|
1914
|
-
"
|
|
1915
|
-
"type": "
|
|
1916
|
-
"
|
|
1910
|
+
"title": "Buttons / Sensors",
|
|
1911
|
+
"type": "section",
|
|
1912
|
+
"expandable": true,
|
|
1913
|
+
"expanded": false,
|
|
1917
1914
|
"items": [
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
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
|
+
}
|
|
1923
1930
|
}
|
|
1924
1931
|
],
|
|
1925
1932
|
"condition": {
|
|
1926
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].
|
|
1933
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id !== '0';"
|
|
1927
1934
|
}
|
|
1928
1935
|
}
|
|
1929
|
-
]
|
|
1930
|
-
"condition": {
|
|
1931
|
-
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id !== '0';"
|
|
1932
|
-
}
|
|
1936
|
+
]
|
|
1933
1937
|
}
|
|
1934
1938
|
]
|
|
1935
1939
|
},
|
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.475",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|