homebridge-melcloud-control 4.3.0-beta.50 → 4.3.0-beta.51

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.0-beta.50",
4
+ "version": "4.3.0-beta.51",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -175,7 +175,10 @@ class MelCloudAta extends EventEmitter {
175
175
  return;
176
176
  }
177
177
 
178
- if (updateDeviceState) this.emit('deviceState', deviceData);
178
+ if (updateDeviceState) {
179
+ this.deviceData = deviceData;
180
+ this.emit('deviceState', deviceData);
181
+ }
179
182
  });
180
183
  } catch (error) {
181
184
  if (this.logError) this.emit('error', `Socket connection failed: ${error}`);