homebridge-melcloud-control 4.0.0-beta.44 → 4.0.0-beta.46
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.
package/config.schema.json
CHANGED
|
@@ -86,11 +86,11 @@
|
|
|
86
86
|
</div>
|
|
87
87
|
|
|
88
88
|
<div class="text-center">
|
|
89
|
-
<button id="logIn" type="button" class="btn btn-secondary">
|
|
89
|
+
<button id="logIn" type="button" class="btn btn-secondary">Log In</button>
|
|
90
90
|
<button id="configButton" type="button" class="btn btn-secondary"><i class="fas fa-gear"></i></button>
|
|
91
91
|
</div>
|
|
92
92
|
</form>
|
|
93
|
-
<div id="accountButton" class="mt-2"></div>
|
|
93
|
+
<div id="accountButton" class="text-center mt-2"></div>
|
|
94
94
|
</div>
|
|
95
95
|
</div>
|
|
96
96
|
|
|
@@ -126,8 +126,8 @@
|
|
|
126
126
|
document.getElementById('name').value = acc.name || '';
|
|
127
127
|
document.getElementById('user').value = acc.user || '';
|
|
128
128
|
document.getElementById('passwd').value = acc.passwd || '';
|
|
129
|
-
document.getElementById('language').value = acc.language || '';
|
|
130
|
-
document.getElementById('displayType').value = acc.displayType || '';
|
|
129
|
+
document.getElementById('language').value = acc.language || '0';
|
|
130
|
+
document.getElementById('displayType').value = acc.displayType || 'disabled';
|
|
131
131
|
document.getElementById('logIn').disabled = !(acc.name && acc.user && acc.passwd && acc.language && acc.displayType);
|
|
132
132
|
this.deviceIndex = i;
|
|
133
133
|
});
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
configButton.addEventListener('click', () => {
|
|
158
158
|
configButtonState = !configButtonState;
|
|
159
159
|
homebridge[configButtonState ? 'showSchemaForm' : 'hideSchemaForm']();
|
|
160
|
-
configButton.className = configButtonState ? 'btn btn-
|
|
160
|
+
configButton.className = configButtonState ? 'btn btn-secondary' : 'btn btn-primary';
|
|
161
161
|
});
|
|
162
162
|
|
|
163
163
|
// Password toggle
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.46",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|