homebridge-melcloud-control 3.0.7-beta.24 → 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,9 +1,6 @@
1
1
  <div style="text-align: center;"></divstyle>
2
2
  <img src="homebridge-melcloud-control.png" alt="Image" height="130" />
3
- </div>
4
-
5
- <div id="accounts">
6
- </div>
3
+ </div><br>
7
4
 
8
5
  <div id="melCloudAccount" style="display: none;" class="card card-body">
9
6
  <form id="configForm">
@@ -13,13 +10,13 @@
13
10
  </div>
14
11
  <div class="form-group">
15
12
  <label for="name">Name</label>
16
- <input id="name" type="text" class="form-control">
13
+ <input id="name" type="text" class="form-control"><br>
17
14
  <label for="user">User Name</label>
18
- <input id="user" type="text" class="form-control">
15
+ <input id="user" type="text" class="form-control"><br>
19
16
  <label for="passwd">Password</label>
20
- <input id="passwd" type="password" class="form-control">
17
+ <input id="passwd" type="password" class="form-control"><br>
21
18
  <label for="language">Language</label>
22
- <select id="language" name="language" class="form-control">
19
+ <select id="language" name="language" class="form-control"><br>
23
20
  <option value="0">English</option>
24
21
  <option value="1">Български</option>
25
22
  <option value="2">Čeština</option>
@@ -52,6 +49,8 @@
52
49
  <button id="logIn" type="button" class="btn btn-primary">Connect to MELCloud</button>
53
50
  <button id="configButton" type="button" class="btn btn-primary"><i class="fas fa-gear"></i></button>
54
51
  </div>
52
+ <div id="accountButton">
53
+ </div>
55
54
  </form>
56
55
  </div>
57
56
 
@@ -78,7 +77,7 @@
78
77
  button.setAttribute("class", "btn btn-primary");
79
78
  button.style.textTransform = 'none';
80
79
  button.innerText = pluginConfig[0].accounts[i].name;
81
- document.getElementById("accounts").appendChild(button);
80
+ document.getElementById("accountButton").appendChild(button);
82
81
 
83
82
  //get actuall value on account select
84
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.24",
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",