homebridge-melcloud-control 3.0.7-beta.25 → 3.0.7-beta.26

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,10 +1,8 @@
1
1
  <div style="text-align: center;"></divstyle>
2
2
  <img src="homebridge-melcloud-control.png" alt="Image" height="130" />
3
- </div>
3
+ </div><br>
4
4
 
5
5
  <div id="melCloudAccount" style="display: none;" class="card card-body">
6
- <div id="accounts">
7
- </div>
8
6
  <form id="configForm">
9
7
  <div class="text-center">
10
8
  <label id="accountName" style="font-size: 23px">Account</label><br>
@@ -51,6 +49,8 @@
51
49
  <button id="logIn" type="button" class="btn btn-primary">Connect to MELCloud</button>
52
50
  <button id="configButton" type="button" class="btn btn-primary"><i class="fas fa-gear"></i></button>
53
51
  </div>
52
+ <div id="accountButton">
53
+ </div>
54
54
  </form>
55
55
  </div>
56
56
 
@@ -77,7 +77,7 @@
77
77
  button.setAttribute("class", "btn btn-primary");
78
78
  button.style.textTransform = 'none';
79
79
  button.innerText = pluginConfig[0].accounts[i].name;
80
- document.getElementById("accounts").appendChild(button);
80
+ document.getElementById("accountButton").appendChild(button);
81
81
 
82
82
  //get actuall value on account select
83
83
  document.getElementById(`button${i}`).addEventListener('click', async () => {
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.25",
4
+ "version": "3.0.7-beta.26",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",