forked from evcc-io/evcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enphase: support for sparse production.json (evcc-io#17948)
In some cases production.json does not list CT meters, not even as a disabled resource. To support that use case, we need to check the length of array before iterating on, potentially non-existing, keys.
- Loading branch information
1 parent
5e20df0
commit f7cbf1b
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters