homebridge-melcloud-control 4.0.0-beta.475 → 4.0.0-beta.476

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 +77 -84
  2. package/package.json +1 -1
@@ -1841,104 +1841,98 @@
1841
1841
  "title": "{{ value.name }}",
1842
1842
  "items": [
1843
1843
  {
1844
- "key": "accounts[].ataDevices[]",
1844
+ "key": "accounts[].ataDevices[].id",
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,
1845
1886
  "items": [
1846
1887
  {
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,
1888
+ "key": "accounts[].ataDevices[].presets",
1889
+ "type": "tabarray",
1890
+ "title": "{{ value.name }}",
1889
1891
  "items": [
1890
1892
  {
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
- },
1893
+ "key": "accounts[].ataDevices[].presets[].id",
1894
+ "readonly": true
1895
+ },
1896
+ "accounts[].ataDevices[].presets[].displayType",
1897
+ "accounts[].ataDevices[].presets[].name",
1898
+ "accounts[].ataDevices[].presets[].namePrefix"
1899
+ ]
1900
+ }
1901
+ ],
1902
+ "condition": {
1903
+ "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
1904
+ }
1905
+ },
1906
+ {
1907
+ "title": "Buttons / Sensors",
1908
+ "type": "section",
1909
+ "expandable": true,
1910
+ "expanded": false,
1911
+ "items": [
1909
1912
  {
1910
- "title": "Buttons / Sensors",
1911
- "type": "section",
1912
- "expandable": true,
1913
- "expanded": false,
1913
+ "key": "accounts[].ataDevices[].buttonsSensors",
1914
+ "type": "tabarray",
1915
+ "title": "{{ value.name || 'button/sensor' }}",
1914
1916
  "items": [
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
- }
1917
+ "accounts[].ataDevices[].buttonsSensors[].displayType",
1918
+ "accounts[].ataDevices[].buttonsSensors[].mode",
1919
+ "accounts[].ataDevices[].buttonsSensors[].name",
1920
+ "accounts[].ataDevices[].buttonsSensors[].namePrefix"
1921
+ ]
1930
1922
  }
1931
1923
  ],
1932
1924
  "condition": {
1933
- "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id !== '0';"
1925
+ "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
1934
1926
  }
1935
1927
  }
1936
- ]
1928
+ ],
1929
+ "condition": {
1930
+ "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id !== '0';"
1931
+ }
1937
1932
  }
1938
1933
  ]
1939
1934
  },
1940
1935
  {
1941
- "key": "accounts[]",
1942
1936
  "title": "Heat Pump",
1943
1937
  "items": [
1944
1938
  {
@@ -2049,7 +2043,6 @@
2049
2043
  ]
2050
2044
  },
2051
2045
  {
2052
- "key": "accounts[]",
2053
2046
  "title": "Energy Recovery Ventilation",
2054
2047
  "items": [
2055
2048
  {
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.475",
4
+ "version": "4.0.0-beta.476",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",