homebridge-melcloud-control 3.7.3-beta.2 → 3.7.3

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/CHANGELOG.md CHANGED
@@ -16,6 +16,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
16
  - do not configure it manually, always using Config UI X
17
17
  - required Homebridge v2.0.0 and above
18
18
 
19
+ ## [3.7.3] - (15.03.2025)
20
+
21
+ ## Changes
22
+
23
+ - updated Homebridge UI interface
24
+
19
25
  ## [3.7.1] - (14.03.2025)
20
26
 
21
27
  ## Changes
@@ -157,9 +157,9 @@
157
157
 
158
158
  //watch for click on the login button
159
159
  document.getElementById('logIn').addEventListener('click', async () => {
160
- document.getElementById(`logIn`).setAttribute("class", "btn btn-primary");
161
-
162
160
  homebridge.showSpinner();
161
+
162
+ document.getElementById(`logIn`).setAttribute("class", "btn btn-primary");
163
163
  document.getElementById('info').innerHTML = 'Connecting...';
164
164
  document.getElementById('info').style.color = 'yellow';
165
165
 
@@ -401,18 +401,20 @@
401
401
  document.getElementById('info1').style.color = 'green';
402
402
  }
403
403
 
404
- //update button state
405
- document.getElementById(`logIn`).setAttribute("class", "btn btn-secondary");
406
-
407
404
  //update ans save plugin config
408
405
  await homebridge.updatePluginConfig(pluginConfig);
409
406
  await homebridge.savePluginConfig(pluginConfig);
407
+
408
+ //update button state
409
+ document.getElementById(`logIn`).setAttribute("class", "btn btn-secondary");
410
+
410
411
  homebridge.hideSpinner();
411
412
  } catch (error) {
412
413
  document.getElementById('info').innerHTML = 'Check Your credentials data and try again.';
413
414
  document.getElementById('info').style.color = 'yellow';
414
415
  document.getElementById('info1').innerHTML = `Error: ${error}`;
415
416
  document.getElementById('info1').style.color = 'red';
417
+ document.getElementById(`logIn`).setAttribute("class", "btn btn-secondary");
416
418
  } finally {
417
419
  homebridge.hideSpinner();
418
420
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "3.7.3-beta.2",
4
+ "version": "3.7.3",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",