homebridge-enphase-envoy 10.2.2-beta.13 → 10.2.2-beta.14

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
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "displayName": "Enphase Envoy",
4
4
  "name": "homebridge-enphase-envoy",
5
- "version": "10.2.2-beta.13",
5
+ "version": "10.2.2-beta.14",
6
6
  "description": "Homebridge p7ugin for Photovoltaic Energy System manufactured by Enphase.",
7
7
  "license": "MIT",
8
8
  "author": "grzegorz914",
@@ -985,15 +985,15 @@ class EnvoyDevice extends EventEmitter {
985
985
  if (updateMeters && this.feature.meters.installed && this.feature.metersReports.installed) await this.updateMetersReports(false);
986
986
 
987
987
  if (updateMeters && this.feature.metersData.supported) await this.updateMetersData();
988
- if (updateInventory && this.feature.pcusData.supported) await this.updatePcusData();
989
- if (updateInventory && this.feature.nsrbsData.supported) await this.updateNsrbsData();
988
+ if (this.feature.inventory.supported && this.feature.pcusData.supported) await this.updatePcusData();
989
+ if (this.feature.inventory.supported && this.feature.nsrbsData.supported) await this.updateNsrbsData();
990
990
 
991
991
  if (this.feature.production.supported) await this.updateProduction();
992
992
  if (this.feature.productionPdm.supported && !this.feature.energyPdm.supported) await this.updateProductionPdm();
993
993
  if (this.feature.energyPdm.supported) await this.updateEnergyPdm();
994
994
 
995
995
  const updateProductionCt = this.feature.productionCt.supported ? await this.updateProductionCt() : false;
996
- if ((updateInventory || updateProductionCt) && this.feature.acbsData.supported) await this.updateAcbsData();
996
+ if ((this.feature.inventory.supported || updateProductionCt) && this.feature.acbsData.supported) await this.updateAcbsData();
997
997
  if (this.feature.powerAndEnergyData.supported) await this.updatePowerAndEnergyData();
998
998
  }))
999
999
  .on('updateEnsemble', () => this.handleWithLock('updateEnsemble', async () => {