homebridge-melcloud-control 4.2.5-beta.20 → 4.2.5-beta.21
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/package.json +1 -1
- package/src/melcloud.js +1 -1
- package/src/melcloudata.js +1 -0
- package/src/melcloudhome.js +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.2.5-beta.
|
|
4
|
+
"version": "4.2.5-beta.21",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|
package/src/melcloud.js
CHANGED
|
@@ -125,7 +125,7 @@ class MelCloud extends EventEmitter {
|
|
|
125
125
|
if (this.logDebug) this.emit('debug', `Connecting to MELCloud`);
|
|
126
126
|
|
|
127
127
|
try {
|
|
128
|
-
const accountInfo = { State: false, Info: '', LoginData: null,
|
|
128
|
+
const accountInfo = { State: false, Info: '', LoginData: null, UseFahrenheit: false }
|
|
129
129
|
|
|
130
130
|
const payload = {
|
|
131
131
|
Email: this.user,
|
package/src/melcloudata.js
CHANGED
|
@@ -53,6 +53,7 @@ class MelCloudAta extends EventEmitter {
|
|
|
53
53
|
try {
|
|
54
54
|
//read device info from file
|
|
55
55
|
const devicesData = await this.functions.readData(this.devicesFile, true);
|
|
56
|
+
if (!this.logDebug) this.emit('warn', `Device Data: ${JSON.stringify(devicesData, null, 2)}`);
|
|
56
57
|
this.axiosInstance = axios.create({
|
|
57
58
|
baseURL: this.baseURL,
|
|
58
59
|
timeout: 30000,
|
package/src/melcloudhome.js
CHANGED
|
@@ -217,7 +217,7 @@ class MelCloud extends EventEmitter {
|
|
|
217
217
|
|
|
218
218
|
let browser;
|
|
219
219
|
try {
|
|
220
|
-
const accountInfo = { State: false, Info: '',
|
|
220
|
+
const accountInfo = { State: false, Info: '', UseFahrenheit: false };
|
|
221
221
|
let chromiumPath = await this.functions.ensureChromiumInstalled();
|
|
222
222
|
|
|
223
223
|
// === Fallback to Puppeteer's built-in Chromium ===
|