homebridge-melcloud-control 4.0.0-beta.235 → 4.0.0-beta.236
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.
|
@@ -151,7 +151,6 @@
|
|
|
151
151
|
formElements.passwd.value = account.passwd || '';
|
|
152
152
|
formElements.language.value = account.language || '0';
|
|
153
153
|
formElements.accountType.value = account.type || 'disabled';
|
|
154
|
-
|
|
155
154
|
formElements.logIn.disabled = !(account.name && account.user && account.passwd && account.language && account.type);
|
|
156
155
|
});
|
|
157
156
|
});
|
|
@@ -178,9 +177,7 @@
|
|
|
178
177
|
|
|
179
178
|
document.getElementById('melCloudAccount').style.display = 'block';
|
|
180
179
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
// --- Config Button Toggle ---
|
|
180
|
+
// Config Button Toggle
|
|
184
181
|
const configButton = document.getElementById('configButton');
|
|
185
182
|
let configButtonState = false;
|
|
186
183
|
configButton.addEventListener('click', () => {
|
|
@@ -202,7 +199,7 @@
|
|
|
202
199
|
}
|
|
203
200
|
});
|
|
204
201
|
|
|
205
|
-
//
|
|
202
|
+
// Device Handling & Login Logic
|
|
206
203
|
function removeStaleDevices(configDevices, melcloudDevices) {
|
|
207
204
|
const melcloudIds = melcloudDevices.map(d => d.DeviceID);
|
|
208
205
|
const removedDevices = [];
|
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.236",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|