This is a full rewrite for a 2.0 release. Removed legacy code, added new features, fixed bugs, keep up with Home Assistant changes, and make it easier to work with in the future. Requires Home Assistant 2022.2.0 or higher.
Recommended update procedure:
- Delete integration from Settings -> Devices & Services.
- Update to 2.x release.
- Add the integration again.
Addressing #21 causes HA to recreate all entities. Updating in place will cause existing entities will be seen as duplicates and HA will suffix them with _2. You will end need to rename everything, update to use the new names, or follow the recommended update procedure to avoid renaming. This assumes the default entity names, custom names will have to be handled manually in any case.
Breaking changes:
- #21: Follow the Home Assistant Unique ID Requirements.
Meter entity names will have the parent device ID as part of the entity name due to new auto-detection feature.(reverted in pre.2)- Remove separate sensors for status_text and status_vendor_text. The information they provided is available as attributes in status and status_vendor.
New features:
- #7: Auto detection for meters (default enabled) and batteries (default disabled). Up to 32 inverters with 3 meters per inverter and 2 batteries per inverter are supported. Battery detection is disabled by default because the registers used are not officially supported by SolarEdge.
- #23: Stale data awareness. If an update cycle fails, entities will show "unavailable".
- #22: Add battery registers for LG batteries.
- New "device" entity with device information attributes. These attributes are static information about the device. information that may change after installation, such as the firmware version, is provided in separate sensors. This is the default, but the old behavior can be set in the integration configuration options.
Bugs fixed:
- #33: Temperature Conversions since 2022.5
Limitations:
- Extremely limited battery support since it hasn't been tested at all.
- @doonga tested the pre-release branch and confirmed that the new SolarEdge Energy Bank does not use the LG battery registers (#22) as previously speculated in #7. The battery registers in general are not from a supported SolarEdge source, so batteries as a whole are considered unsupported. It is unknown at this time if any registers exist for the new battery system.
- Units
VAh
(volt-amp hours) andvarh
(volt-amp reactive hours) supported by some meters are not supported by Home Assistant core and will not collect statistics (an error will show in the statics panel).
Meter Entity Format Change
Old meter entity format: sensor.solaredge_m1_*
New entity format where meter 1 was detected on inverter ID 1: sensor.solaredge_m1_1_*
New entity format where meter 2 was detected on inverter ID 5: sensor.solaredge_m2_5_*
(reverted in pre.2)
Full Changelog: v1.2.2...v2.0.0-pre.1