homebridge-enphase-envoy 9.14.2-beta.21 → 9.14.2-beta.22
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 +1 -1
- package/src/envoydevice.js +4 -4
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": "9.14.2-beta.
|
|
5
|
+
"version": "9.14.2-beta.22",
|
|
6
6
|
"description": "Homebridge plugin for Photovoltaic Energy System manufactured by Enphase.",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"author": "grzegorz914",
|
package/src/envoydevice.js
CHANGED
|
@@ -7228,12 +7228,12 @@ class EnvoyDevice extends EventEmitter {
|
|
|
7228
7228
|
|
|
7229
7229
|
//get ensemble data ab FW. >= 7.x.x.
|
|
7230
7230
|
const refreshEnsemble = tokenValid ? await this.updateEnsembleInventory() : false;
|
|
7231
|
-
const updateEnsembleStatus =
|
|
7232
|
-
const refreshEnchargeSettings =
|
|
7231
|
+
const updateEnsembleStatus = this.feature.ensembles.supported ? await this.updateEnsembleStatus() : false;
|
|
7232
|
+
const refreshEnchargeSettings = this.feature.ensembles.supported ? await this.updateEnchargesSettings() : false;
|
|
7233
7233
|
const refreshTariffSettings = refreshEnchargeSettings ? await this.updateTariff() : false;
|
|
7234
|
-
const refreshDryContacts =
|
|
7234
|
+
const refreshDryContacts = this.feature.ensembles.supported ? await this.updateDryContacts() : false;
|
|
7235
7235
|
const updateDryContactsSettings = refreshDryContacts ? await this.updateDryContactsSettings() : false;
|
|
7236
|
-
const refreshGenerator =
|
|
7236
|
+
const refreshGenerator = this.feature.ensembles.supported ? await this.updateGenerator() : false;
|
|
7237
7237
|
const updateGeneratorSettings = refreshGenerator ? await this.updateGeneratorSettings() : false;
|
|
7238
7238
|
|
|
7239
7239
|
//get live data ab FW. >= 7.x.x
|