homebridge-melcloud-control 4.0.0-beta.80 → 4.0.0-beta.81

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.
@@ -146,8 +146,8 @@
146
146
 
147
147
  document.getElementById('logIn').disabled = !(acc.name && acc.user && acc.passwd && acc.languaged && acc.displayType);
148
148
 
149
- await homebridge.updatePluginConfig(acc);
150
- await homebridge.savePluginConfig(acc);
149
+ await homebridge.updatePluginConfig(pluginConfig);
150
+ await homebridge.savePluginConfig(pluginConfig);
151
151
  });
152
152
 
153
153
  // --- Config Button Toggle ---
@@ -263,8 +263,8 @@
263
263
  if (removedDevicesCount) updateInfo('info2', `Removed devices: ATA: ${removedAta.length}, ATW: ${removedAtw.length}, ERV: ${removedErv.length}.`, 'orange');
264
264
  }
265
265
 
266
- await homebridge.updatePluginConfig(acc);
267
- await homebridge.savePluginConfig(acc);
266
+ await homebridge.updatePluginConfig(pluginConfig);
267
+ await homebridge.savePluginConfig(pluginConfig);
268
268
  document.getElementById('logIn').className = "btn btn-secondary";
269
269
 
270
270
  } catch (error) {
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.80",
4
+ "version": "4.0.0-beta.81",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",