homebridge-melcloud-control 4.0.0-beta.131 → 4.0.0-beta.132
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/melcloudata.js +1 -2
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.
|
|
4
|
+
"version": "4.0.0-beta.132",
|
|
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/melcloudata.js
CHANGED
|
@@ -332,8 +332,7 @@ class MelCloudAta extends EventEmitter {
|
|
|
332
332
|
this.emit('warn', JSON.stringify(payload, null, 2));
|
|
333
333
|
|
|
334
334
|
const path = ApiUrlsHome.SetAta.replace('deviceid', deviceData.DeviceID);
|
|
335
|
-
|
|
336
|
-
this.emit('warn', JSON.stringify(response, null, 2));
|
|
335
|
+
await axiosInstancePut(path, payload);
|
|
337
336
|
return true;
|
|
338
337
|
} catch (error) {
|
|
339
338
|
throw new Error(`Send data error: ${error}`);
|