homebridge-melcloud-control 4.6.1-beta.13 → 4.6.1-beta.14
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.
|
@@ -84,6 +84,7 @@
|
|
|
84
84
|
<script>
|
|
85
85
|
(async () => {
|
|
86
86
|
const pluginConfig = await homebridge.getPluginConfig();
|
|
87
|
+
const lightMode = homebridge.userCurrentLightingMode();
|
|
87
88
|
|
|
88
89
|
if (!pluginConfig.length) {
|
|
89
90
|
pluginConfig.push({});
|
|
@@ -166,7 +167,7 @@
|
|
|
166
167
|
formElements.logIn.disabled = !(account.name && account.user && account.passwd && account.language && account.type);
|
|
167
168
|
|
|
168
169
|
await homebridge.updatePluginConfig(pluginConfig);
|
|
169
|
-
await homebridge.savePluginConfig(
|
|
170
|
+
await homebridge.savePluginConfig();
|
|
170
171
|
});
|
|
171
172
|
|
|
172
173
|
document.getElementById('melCloudAccount').style.display = 'block';
|
|
@@ -392,7 +393,7 @@
|
|
|
392
393
|
}
|
|
393
394
|
|
|
394
395
|
await homebridge.updatePluginConfig(pluginConfig);
|
|
395
|
-
await homebridge.savePluginConfig(
|
|
396
|
+
await homebridge.savePluginConfig();
|
|
396
397
|
} catch (error) {
|
|
397
398
|
updateInfo('info', `Prepare config error`, "yellow");
|
|
398
399
|
updateInfo('info1', `Error: ${JSON.stringify(error)}`, "red");
|
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.14",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|