Add SolarEdge Modules integration #146036
Open
+720
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Breaking change
Proposed change
This is similar to https://github.com/ProudElm/solaredgeoptimizers but:
uses a different endpoint which only provides energy (in Wh) but provides data for all equipment in a single response.
I personally don't find current and voltage useful. To get those we would have to make several requests, one for each module, similar to the custom integration, but that would be too slow. Among all my integrations the solaredgeoptimizers is an order of magnitude slower. Now there is a single request for all equipment: inverter/string/module for the last 7 days.
uses statistics instead of sensors since data is often delayed by a couple of hours.
Data isn't real time. It's often delayed by longer than an hour. The custom integration suffers from this which polls every 15m and uses 0 if data is longer than 1 hour. This has now made that integration practically useless. See many open issues in that repo. Since data isn't real time I opted for polling every 12 hours (seems a good value to me; users who want faster can reload the integration via an automation) and inserting the data into statistics for use in Statistics graph card.
I opted for a new integration instead of the existing SolarEdge integration due to:
Example using Statistics graph cards:

Type of change
Additional information
Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
.To help with the load of incoming pull requests: