homebridge-melcloud-control 4.0.0-beta.46 → 4.0.0-beta.47

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.
@@ -118,7 +118,7 @@
118
118
 
119
119
  button.addEventListener('click', async () => {
120
120
  for (let j = 0; j < accountsCount; j++) {
121
- document.getElementById(`button${j}`).className = (j === i ? 'btn btn-secondary' : 'btn btn-primary');
121
+ document.getElementById(`button${j}`).className = (j === i ? 'btn btn-primary' : 'btn btn-secondary');
122
122
  }
123
123
 
124
124
  const acc = pluginConfig[0].accounts[i];
@@ -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-secondary' : 'btn btn-primary';
160
+ configButton.className = configButtonState ? 'btn btn-primary' : 'btn btn-secondary';
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.46",
4
+ "version": "4.0.0-beta.47",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",