homebridge-melcloud-control 4.1.2-beta.53 → 4.1.2-beta.54

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.
@@ -178,8 +178,8 @@
178
178
 
179
179
  formElements.logIn.disabled = !(account.name && account.user && account.passwd && account.language && account.type);
180
180
 
181
- await homebridge.updatePluginConfig(pluginConfig);
182
- await homebridge.savePluginConfig(pluginConfig);
181
+ await homebridge.updatePluginConfig(pluginConfig[0]);
182
+ await homebridge.savePluginConfig(pluginConfig[0]);
183
183
  });
184
184
 
185
185
  document.getElementById('melCloudAccount').style.display = 'block';
@@ -366,8 +366,8 @@
366
366
  updateInfo('info2', `Removed devices: ATA: ${removedAta.length}, ATW: ${removedAtw.length}, ERV: ${removedErv.length}.`, 'orange');
367
367
  }
368
368
 
369
- await homebridge.updatePluginConfig(pluginConfig);
370
- await homebridge.savePluginConfig(pluginConfig);
369
+ await homebridge.updatePluginConfig(pluginConfig[0]);
370
+ await homebridge.savePluginConfig(pluginConfig[0]);
371
371
  document.getElementById('logIn').className = "btn btn-secondary";
372
372
 
373
373
  } 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.1.2-beta.53",
4
+ "version": "4.1.2-beta.54",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",