homebridge-melcloud-control 4.0.0-beta.473 → 4.0.0-beta.474

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