homebridge-melcloud-control 4.3.2-beta.19 → 4.3.2-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.3.2-beta.19",
4
+ "version": "4.3.2-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",
@@ -230,7 +230,10 @@ class MelCloudAta extends EventEmitter {
230
230
  }
231
231
 
232
232
  //update state
233
- if (updateState) await this.updateState(deviceData);
233
+ if (updateState) {
234
+ this.deviceData = deviceData;
235
+ await this.updateState(deviceData);
236
+ }
234
237
  });
235
238
  } catch (error) {
236
239
  if (this.logError) this.emit('error', `Socket connection failed: ${error}`);