homebridge-melcloud-control 4.6.1-beta.17 → 4.6.1-beta.18
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.
|
@@ -239,9 +239,12 @@
|
|
|
239
239
|
// Login & Sync Logic
|
|
240
240
|
document.getElementById('logIn').addEventListener('click', async () => {
|
|
241
241
|
document.getElementById('logIn').className = "btn btn-primary";
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
242
|
+
const lightingMode = homebridge.userCurrentLightingMode();
|
|
243
|
+
const fontColor = lightingMode === 'dark' ? 'black' : 'white';
|
|
244
|
+
|
|
245
|
+
updateInfo('info', 'Connecting to MELCloud', fontColor);
|
|
246
|
+
updateInfo('info1', '', fontColor);
|
|
247
|
+
updateInfo('info2', '', fontColor);
|
|
245
248
|
homebridge.showSpinner();
|
|
246
249
|
|
|
247
250
|
try {
|
|
@@ -377,8 +380,6 @@
|
|
|
377
380
|
const removedSchedulesCount = removedFromConfig.schedules.length;
|
|
378
381
|
const removedScenesCount = removedFromConfig.scenes.length;
|
|
379
382
|
|
|
380
|
-
const LightingMode = homebridge.userCurrentLightingMode();
|
|
381
|
-
const fontColor = LightingMode === 'dark' ? 'white' : 'black';
|
|
382
383
|
if (!newDevicesCount && !newPresetsCount && !newSchedulesCount && !newScenesCount && !removedDevicesCount && !removedPresetsCount && !removedSchedulesCount && !removedScenesCount) {
|
|
383
384
|
updateInfo('info', 'No changes detected.', fontColor);
|
|
384
385
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.6.1-beta.
|
|
4
|
+
"version": "4.6.1-beta.18",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|