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

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 +30 -30
  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
  }
@@ -2123,15 +2123,15 @@
2123
2123
  ]
2124
2124
  },
2125
2125
  {
2126
- "key": "devices[].log",
2126
+ "key": "accounts[].log",
2127
2127
  "title": "Log",
2128
2128
  "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"
2129
+ "accounts[].log.deviceInfo",
2130
+ "accounts[].log.success",
2131
+ "accounts[].log.info",
2132
+ "accounts[].log.warn",
2133
+ "accounts[].log.error",
2134
+ "accounts[].log.debug"
2135
2135
  ]
2136
2136
  },
2137
2137
  {
@@ -2152,23 +2152,23 @@
2152
2152
  ]
2153
2153
  },
2154
2154
  {
2155
- "key": "devices[].mqtt",
2155
+ "key": "accounts[].mqtt",
2156
2156
  "title": "MQTT",
2157
2157
  "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",
2158
+ "accounts[].mqtt.enable",
2159
+ "accounts[].mqtt.host",
2160
+ "accounts[].mqtt.port",
2161
+ "accounts[].mqtt.clientId",
2162
+ "accounts[].mqtt.prefix",
2163
+ "accounts[].mqtt.debug",
2164
+ {
2165
+ "key": "accounts[].mqtt.auth",
2166
2166
  "title": "Authorization",
2167
2167
  "items": [
2168
- "devices[].mqtt.auth.enable",
2169
- "devices[].mqtt.auth.user",
2168
+ "accounts[].mqtt.auth.enable",
2169
+ "accounts[].mqtt.auth.user",
2170
2170
  {
2171
- "key": "devices[].mqtt.auth.passwd",
2171
+ "key": "accounts[].mqtt.auth.passwd",
2172
2172
  "type": "password"
2173
2173
  }
2174
2174
  ]
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.2",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",