homebridge-melcloud-control 3.0.7-beta.15 → 3.0.7-beta.18

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.
@@ -1,5 +1,5 @@
1
- <div>
2
- <img src="homebridge-melcloud-control.png" style="text-align: center;" height="150" />
1
+ <div style="text-align: center;"></divstyle>
2
+ <img src="homebridge-melcloud-control.png" alt="Image" height="150" />
3
3
  </div>
4
4
  <div id="accounts">
5
5
  </div>
@@ -75,7 +75,7 @@
75
75
  button.setAttribute("id", `button${i}`);
76
76
  button.setAttribute("class", "btn btn-primary");
77
77
  button.innerText = pluginConfig[0].accounts[i].name;
78
- document.getElementById("accounts").appendChild(button);
78
+ document.getElementById("melCloudAccount").appendChild(button);
79
79
 
80
80
  //get actuall value on account select
81
81
  document.getElementById(`button${i}`).addEventListener('click', async () => {
@@ -152,9 +152,9 @@
152
152
  atw: [],
153
153
  erv: []
154
154
  };
155
- let textAta = '';
156
- let textAtw = '';
157
- let textErv = '';
155
+ let textAta = 'ATA: 0';
156
+ let textAtw = 'ATW: 0';
157
+ let textErv = 'ERV: 0';
158
158
 
159
159
  switch (status) {
160
160
  case 0:
@@ -249,7 +249,7 @@
249
249
  });
250
250
 
251
251
  const newDevicesCount = newDevices.ata.length + newDevices.atw.length + newDevices.erv.length;
252
- document.getElementById('info').innerHTML = `Found devices: ${textAta}, ${textAtw}, ${textErv}. ${newDevicesCount === 0 ? '' : 'Now You can start to configure it.'}`;
252
+ document.getElementById('info').innerHTML = `Found in MELCloud, ${textAta}, ${textAtw}, ${textErv}. ${newDevicesCount === 0 ? '' : 'Now You can start to configure it.'}`;
253
253
  document.getElementById('info').style.color = 'green';
254
254
 
255
255
  await homebridge.updatePluginConfig(pluginConfig);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "3.0.7-beta.15",
4
+ "version": "3.0.7-beta.18",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",