homebridge-melcloud-control 3.0.7-beta.25 → 3.0.7-beta.27
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
|
-
<img src="homebridge-melcloud-control.png" alt="Image" height="
|
|
3
|
-
</div>
|
|
2
|
+
<img src="homebridge-melcloud-control.png" alt="Image" height="120" />
|
|
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>
|
|
@@ -13,10 +11,17 @@
|
|
|
13
11
|
<div class="form-group">
|
|
14
12
|
<label for="name">Name</label>
|
|
15
13
|
<input id="name" type="text" class="form-control"><br>
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
<div class="form-group row">
|
|
15
|
+
<label for="user" class="col-sm-2 col-form-label">User Name</label>
|
|
16
|
+
<div class="col-sm-4">
|
|
17
|
+
<input id="user" type="text" class="form-control">
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
<label for="passwd" class="col-sm-2 col-form-label">Password</label>
|
|
21
|
+
<div class="col-sm-4">
|
|
22
|
+
<input id="passwd" type="password" class="form-control">
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
20
25
|
<label for="language">Language</label>
|
|
21
26
|
<select id="language" name="language" class="form-control"><br>
|
|
22
27
|
<option value="0">English</option>
|
|
@@ -51,6 +56,8 @@
|
|
|
51
56
|
<button id="logIn" type="button" class="btn btn-primary">Connect to MELCloud</button>
|
|
52
57
|
<button id="configButton" type="button" class="btn btn-primary"><i class="fas fa-gear"></i></button>
|
|
53
58
|
</div>
|
|
59
|
+
<div id="accountButton">
|
|
60
|
+
</div>
|
|
54
61
|
</form>
|
|
55
62
|
</div>
|
|
56
63
|
|
|
@@ -77,7 +84,7 @@
|
|
|
77
84
|
button.setAttribute("class", "btn btn-primary");
|
|
78
85
|
button.style.textTransform = 'none';
|
|
79
86
|
button.innerText = pluginConfig[0].accounts[i].name;
|
|
80
|
-
document.getElementById("
|
|
87
|
+
document.getElementById("accountButton").appendChild(button);
|
|
81
88
|
|
|
82
89
|
//get actuall value on account select
|
|
83
90
|
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.
|
|
4
|
+
"version": "3.0.7-beta.27",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|