homebridge-melcloud-control 4.0.0-beta.130 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.0.0-beta.130",
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",
@@ -332,9 +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
- const response = await axiosInstancePut(path, payload);
336
- this.emit('warn', response.data);
337
- this.emit('deviceState', deviceData);
335
+ await axiosInstancePut(path, payload);
338
336
  return true;
339
337
  } catch (error) {
340
338
  throw new Error(`Send data error: ${error}`);