homebridge-melcloud-control 4.3.5-beta.8 → 4.3.5-beta.9

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.5-beta.8",
4
+ "version": "4.3.5-beta.9",
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/deviceata.js CHANGED
@@ -1877,6 +1877,9 @@ class DeviceAta extends EventEmitter {
1877
1877
  //start external integrations
1878
1878
  if (this.restFul.enable || this.mqtt.enable) await this.externalIntegrations();
1879
1879
 
1880
+ //check state
1881
+ await this.melCloudAta.updateState();
1882
+
1880
1883
  //prepare accessory
1881
1884
  const accessory = await this.prepareAccessory();
1882
1885
  return accessory;
package/src/deviceatw.js CHANGED
@@ -2306,6 +2306,9 @@ class DeviceAtw extends EventEmitter {
2306
2306
  //start external integrations
2307
2307
  if (this.restFul.enable || this.mqtt.enable) await this.externalIntegrations();
2308
2308
 
2309
+ //check state
2310
+ await this.melCloudAtw.updateState();
2311
+
2309
2312
  //prepare accessory
2310
2313
  const accessory = await this.prepareAccessory();
2311
2314
  return accessory;
package/src/deviceerv.js CHANGED
@@ -1580,6 +1580,9 @@ class DeviceErv extends EventEmitter {
1580
1580
  //start external integrations
1581
1581
  if (this.restFul.enable || this.mqtt.enable) await this.externalIntegrations();
1582
1582
 
1583
+ //check state
1584
+ await this.melCloudErv.updateState();
1585
+
1583
1586
  //prepare accessory
1584
1587
  const accessory = await this.prepareAccessory();
1585
1588
  return accessory;