homebridge-melcloud-control 4.4.0-beta.19 → 4.4.0-beta.20

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.4.0-beta.19",
4
+ "version": "4.4.0-beta.20",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -251,6 +251,7 @@ class MelCloudAta extends EventEmitter {
251
251
  };
252
252
  method = 'POST';
253
253
  path = ApiUrlsHome.PostProtectionFrost;
254
+ this.update(deviceData);
254
255
  break;
255
256
  case 'overheatprotection':
256
257
  payload = {
@@ -261,6 +262,7 @@ class MelCloudAta extends EventEmitter {
261
262
  };
262
263
  method = 'POST';
263
264
  path = ApiUrlsHome.PostProtectionOverheat;
265
+ this.update(deviceData);
264
266
  break;
265
267
  case 'holidaymode':
266
268
  payload = {
@@ -312,7 +314,6 @@ class MelCloudAta extends EventEmitter {
312
314
  //send payload
313
315
  if (this.logDebug) this.emit('debug', `Send data: ${JSON.stringify(payload, null, 2)}`);
314
316
  await this.client(path, { method: method, data: payload });
315
- this.update(deviceData);
316
317
 
317
318
  return true;
318
319
  default: