homebridge-melcloud-control 3.10.0-beta.0 → 3.10.0-beta.10

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 +51 -75
  2. package/package.json +1 -1
@@ -752,7 +752,7 @@
752
752
  ]
753
753
  },
754
754
  "condition": {
755
- "functionBody": "const devices = model.accounts[arrayIndices]?.ataDevices || []; return devices.length > 0 && devices.every(device => device.id != null);"
755
+ "functionBody": "const accounts = model.accounts[arrayIndices]?.ataDevices || []; return accounts.length > 0 && accounts.every(device => device.id != null);"
756
756
  }
757
757
  },
758
758
  "atwDevices": {
@@ -1272,7 +1272,7 @@
1272
1272
  ]
1273
1273
  },
1274
1274
  "condition": {
1275
- "functionBody": "const devices = model.accounts[arrayIndices]?.atwDevices || []; return devices.length > 0 && devices.every(device => device.id != null);"
1275
+ "functionBody": "const accounts = model.accounts[arrayIndices]?.atwDevices || []; return accounts.length > 0 && accounts.every(device => device.id != null);"
1276
1276
  }
1277
1277
  },
1278
1278
  "ervDevices": {
@@ -1602,7 +1602,7 @@
1602
1602
  ]
1603
1603
  },
1604
1604
  "condition": {
1605
- "functionBody": "const devices = model.accounts[arrayIndices]?.ervDevices || []; return devices.length > 0 && devices.every(device => device.id != null);"
1605
+ "functionBody": "const accounts = model.accounts[arrayIndices]?.ervDevices || []; return accounts.length > 0 && accounts.every(device => device.id != null);"
1606
1606
  }
1607
1607
  },
1608
1608
  "refreshInterval": {
@@ -1688,7 +1688,7 @@
1688
1688
  "format": "hostname",
1689
1689
  "description": "Here set the IP/Hostname of MQTT Broker.",
1690
1690
  "condition": {
1691
- "functionBody": "return model.devices[arrayIndices].mqtt.enable === true;"
1691
+ "functionBody": "return model.accounts[arrayIndices].mqtt.enable === true;"
1692
1692
  }
1693
1693
  },
1694
1694
  "port": {
@@ -1697,7 +1697,7 @@
1697
1697
  "placeholder": 1883,
1698
1698
  "description": "Here set the port of MQTT Broker.",
1699
1699
  "condition": {
1700
- "functionBody": "return model.devices[arrayIndices].mqtt.enable === true;"
1700
+ "functionBody": "return model.accounts[arrayIndices].mqtt.enable === true;"
1701
1701
  }
1702
1702
  },
1703
1703
  "clientId": {
@@ -1706,7 +1706,7 @@
1706
1706
  "placeholder": "client id",
1707
1707
  "description": "Here optional set the Client ID of MQTT Broker.",
1708
1708
  "condition": {
1709
- "functionBody": "return model.devices[arrayIndices].mqtt.enable === true"
1709
+ "functionBody": "return model.accounts[arrayIndices].mqtt.enable === true"
1710
1710
  }
1711
1711
  },
1712
1712
  "prefix": {
@@ -1715,7 +1715,7 @@
1715
1715
  "placeholder": "home",
1716
1716
  "description": "Here set the prefix.",
1717
1717
  "condition": {
1718
- "functionBody": "return model.devices[arrayIndices].mqtt.enable === true;"
1718
+ "functionBody": "return model.accounts[arrayIndices].mqtt.enable === true;"
1719
1719
  }
1720
1720
  },
1721
1721
  "debug": {
@@ -1724,7 +1724,7 @@
1724
1724
  "default": false,
1725
1725
  "description": "This enable debug mode for MQTT.",
1726
1726
  "condition": {
1727
- "functionBody": "return model.devices[arrayIndices].mqtt.enable === true;"
1727
+ "functionBody": "return model.accounts[arrayIndices].mqtt.enable === true;"
1728
1728
  }
1729
1729
  },
1730
1730
  "auth": {
@@ -1743,7 +1743,7 @@
1743
1743
  "placeholder": "user",
1744
1744
  "description": "Here set the user of MQTT Broker.",
1745
1745
  "condition": {
1746
- "functionBody": "return model.devices[arrayIndices].mqtt.auth.enable === true;"
1746
+ "functionBody": "return model.accounts[arrayIndices].mqtt.auth.enable === true;"
1747
1747
  }
1748
1748
  },
1749
1749
  "passwd": {
@@ -1753,12 +1753,12 @@
1753
1753
  "description": "Here set the password of MQTT Broker.",
1754
1754
  "format": "password",
1755
1755
  "condition": {
1756
- "functionBody": "return model.devices[arrayIndices].mqtt.auth.enable === true;"
1756
+ "functionBody": "return model.accounts[arrayIndices].mqtt.auth.enable === true;"
1757
1757
  }
1758
1758
  }
1759
1759
  },
1760
1760
  "condition": {
1761
- "functionBody": "return model.devices[arrayIndices].mqtt.enable === true;"
1761
+ "functionBody": "return model.accounts[arrayIndices].mqtt.enable === true;"
1762
1762
  }
1763
1763
  }
1764
1764
  }
@@ -1793,7 +1793,7 @@
1793
1793
  "title": "{{ value.title }}",
1794
1794
  "items": [
1795
1795
  {
1796
- "key": "accounts[]",
1796
+ "key": "accounts[].ataDevices",
1797
1797
  "title": "Air Conditioner",
1798
1798
  "items": [
1799
1799
  {
@@ -1811,11 +1811,9 @@
1811
1811
  },
1812
1812
  "accounts[].ataDevices[].displayMode",
1813
1813
  {
1814
- "key": "accounts[].ataDevices[]",
1815
- "type": "section",
1814
+ "key": "accounts[].ataDevices",
1816
1815
  "title": "Settings",
1817
- "expandable": true,
1818
- "expanded": false,
1816
+ "type": "section",
1819
1817
  "items": [
1820
1818
  "accounts[].ataDevices[].name",
1821
1819
  "accounts[].ataDevices[].heatDryFanMode",
@@ -1825,11 +1823,9 @@
1825
1823
  ]
1826
1824
  },
1827
1825
  {
1828
- "key": "accounts[].ataDevices",
1829
- "type": "section",
1826
+ "key": "accounts[].ataDevices[].presets",
1830
1827
  "title": "Presets",
1831
- "expandable": true,
1832
- "expanded": false,
1828
+ "type": "section",
1833
1829
  "items": [
1834
1830
  {
1835
1831
  "key": "accounts[].ataDevices[].presets",
@@ -1849,21 +1845,17 @@
1849
1845
  },
1850
1846
  {
1851
1847
  "key": "accounts[].ataDevices",
1852
- "type": "section",
1853
1848
  "title": "Temperature Sensors",
1854
- "expandable": true,
1855
- "expanded": false,
1849
+ "type": "section",
1856
1850
  "items": [
1857
1851
  "accounts[].ataDevices[].temperatureSensor",
1858
1852
  "accounts[].ataDevices[].temperatureSensorOutdoor"
1859
1853
  ]
1860
1854
  },
1861
1855
  {
1862
- "key": "accounts[].ataDevices",
1863
- "type": "section",
1856
+ "key": "accounts[].ataDevices[].buttonsSensors",
1864
1857
  "title": "Buttons / Sensors",
1865
- "expandable": true,
1866
- "expanded": false,
1858
+ "type": "section",
1867
1859
  "items": [
1868
1860
  {
1869
1861
  "key": "accounts[].ataDevices[].buttonsSensors",
@@ -1884,7 +1876,7 @@
1884
1876
  }
1885
1877
  },
1886
1878
  {
1887
- "key": "accounts[]",
1879
+ "key": "accouts[]",
1888
1880
  "type": "tabarray",
1889
1881
  "title": "{{ value.title }}",
1890
1882
  "items": [],
@@ -1895,7 +1887,6 @@
1895
1887
  ]
1896
1888
  },
1897
1889
  {
1898
- "key": "accounts[]",
1899
1890
  "title": "Heat Pump",
1900
1891
  "items": [
1901
1892
  {
@@ -1914,7 +1905,7 @@
1914
1905
  "accounts[].atwDevices[].displayMode",
1915
1906
  "accounts[].atwDevices[].hideZone",
1916
1907
  {
1917
- "key": "accounts[].atwDevices[]",
1908
+ "key": "accounts[].atwDevices",
1918
1909
  "type": "section",
1919
1910
  "title": "Settings",
1920
1911
  "expandable": true,
@@ -1925,11 +1916,9 @@
1925
1916
  ]
1926
1917
  },
1927
1918
  {
1928
- "key": "accounts[].atwDevices",
1929
- "type": "section",
1919
+ "key": "accounts[].atwDevices[].presets",
1930
1920
  "title": "Presets",
1931
- "expandable": true,
1932
- "expanded": false,
1921
+ "type": "section",
1933
1922
  "items": [
1934
1923
  {
1935
1924
  "key": "accounts[].atwDevices[].presets",
@@ -1949,10 +1938,8 @@
1949
1938
  },
1950
1939
  {
1951
1940
  "key": "accounts[].atwDevices",
1952
- "type": "section",
1953
1941
  "title": "Temperature Sensors",
1954
- "expandable": true,
1955
- "expanded": false,
1942
+ "type": "section",
1956
1943
  "items": [
1957
1944
  "accounts[].atwDevices[].temperatureSensor",
1958
1945
  "accounts[].atwDevices[].temperatureSensorFlow",
@@ -1966,11 +1953,9 @@
1966
1953
  ]
1967
1954
  },
1968
1955
  {
1969
- "key": "accounts[].atwDevices",
1970
- "type": "section",
1956
+ "key": "accounts[].atwDevices[].buttonsSensors",
1971
1957
  "title": "Buttons / Sensors",
1972
- "expandable": true,
1973
- "expanded": false,
1958
+ "type": "section",
1974
1959
  "items": [
1975
1960
  {
1976
1961
  "key": "accounts[].atwDevices[].buttonsSensors",
@@ -2002,7 +1987,6 @@
2002
1987
  ]
2003
1988
  },
2004
1989
  {
2005
- "key": "accounts[]",
2006
1990
  "title": "Energy Recovery Ventilation",
2007
1991
  "items": [
2008
1992
  {
@@ -2021,21 +2005,17 @@
2021
2005
  "accounts[].ervDevices[].displayMode",
2022
2006
  {
2023
2007
  "key": "accounts[].ervDevices[]",
2024
- "type": "section",
2025
2008
  "title": "Settings",
2026
- "expandable": true,
2027
- "expanded": false,
2009
+ "type": "section",
2028
2010
  "items": [
2029
2011
  "accounts[].ervDevices[].name",
2030
2012
  "accounts[].ervDevices[].refreshInterval"
2031
2013
  ]
2032
2014
  },
2033
2015
  {
2034
- "key": "accounts[].ervDevices",
2035
- "type": "section",
2016
+ "key": "accounts[].ervDevices[].presets",
2036
2017
  "title": "Presets",
2037
- "expandable": true,
2038
- "expanded": false,
2018
+ "type": "section",
2039
2019
  "items": [
2040
2020
  {
2041
2021
  "key": "accounts[].ervDevices[].presets",
@@ -2055,10 +2035,8 @@
2055
2035
  },
2056
2036
  {
2057
2037
  "key": "accounts[].ervDevices",
2058
- "type": "section",
2059
2038
  "title": "Temperature Sensors",
2060
- "expandable": true,
2061
- "expanded": false,
2039
+ "type": "section",
2062
2040
  "items": [
2063
2041
  "accounts[].ervDevices[].temperatureSensor",
2064
2042
  "accounts[].ervDevices[].temperatureSensorOutdoor",
@@ -2066,11 +2044,9 @@
2066
2044
  ]
2067
2045
  },
2068
2046
  {
2069
- "key": "accounts[].ervDevices",
2070
- "type": "section",
2047
+ "key": "accounts[].ervDevices[].buttonsSensors",
2071
2048
  "title": "Buttons / Sensors",
2072
- "expandable": true,
2073
- "expanded": false,
2049
+ "type": "section",
2074
2050
  "items": [
2075
2051
  {
2076
2052
  "key": "accounts[].ervDevices[].buttonsSensors",
@@ -2123,15 +2099,15 @@
2123
2099
  ]
2124
2100
  },
2125
2101
  {
2126
- "key": "devices[].log",
2102
+ "key": "accounts[].log",
2127
2103
  "title": "Log",
2128
2104
  "items": [
2129
- "devices[].log.deviceInfo",
2130
- "devices[].log.success",
2131
- "devices[].log.info",
2132
- "devices[].log.warn",
2133
- "devices[].log.error",
2134
- "devices[].log.debug"
2105
+ "accounts[].log.deviceInfo",
2106
+ "accounts[].log.success",
2107
+ "accounts[].log.info",
2108
+ "accounts[].log.warn",
2109
+ "accounts[].log.error",
2110
+ "accounts[].log.debug"
2135
2111
  ]
2136
2112
  },
2137
2113
  {
@@ -2152,23 +2128,23 @@
2152
2128
  ]
2153
2129
  },
2154
2130
  {
2155
- "key": "devices[].mqtt",
2131
+ "key": "accounts[].mqtt",
2156
2132
  "title": "MQTT",
2157
2133
  "items": [
2158
- "devices[].mqtt.enable",
2159
- "devices[].mqtt.host",
2160
- "devices[].mqtt.port",
2161
- "devices[].mqtt.clientId",
2162
- "devices[].mqtt.prefix",
2163
- "devices[].mqtt.debug",
2164
- {
2165
- "key": "devices[].mqtt.auth",
2134
+ "accounts[].mqtt.enable",
2135
+ "accounts[].mqtt.host",
2136
+ "accounts[].mqtt.port",
2137
+ "accounts[].mqtt.clientId",
2138
+ "accounts[].mqtt.prefix",
2139
+ "accounts[].mqtt.debug",
2140
+ {
2141
+ "key": "accounts[].mqtt.auth",
2166
2142
  "title": "Authorization",
2167
2143
  "items": [
2168
- "devices[].mqtt.auth.enable",
2169
- "devices[].mqtt.auth.user",
2144
+ "accounts[].mqtt.auth.enable",
2145
+ "accounts[].mqtt.auth.user",
2170
2146
  {
2171
- "key": "devices[].mqtt.auth.passwd",
2147
+ "key": "accounts[].mqtt.auth.passwd",
2172
2148
  "type": "password"
2173
2149
  }
2174
2150
  ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "3.10.0-beta.0",
4
+ "version": "3.10.0-beta.10",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",