Release 1.4.2 π
Point release that completes the fix for the 1.4.0 SolarFlow AC+ upgrade regression. If you own a SolarFlow 2400 AC+, 1600 AC+ or 4000 AC+ and upgraded from 1.3.x, this is the release you want.
π¨ Completes the SolarFlow AC+ upgrade fix (#1477, #1475)
1.4.1 fixed the duplicate _2 entities, but some users found their device still showed as offline after upgrading: the Zendure Manager reported "No devices online", Global SOC stayed at 0%, and lifetime energy counters had reset.
Root cause (full trace by @qpaz in #1477): the 1.4.0 + β _plus rename changed every affected entity's entity_id, and Home Assistant keys restore state by entity_id. So on upgrade the device-level settings lost their saved values and fell back to defaults:
- connection β cloud (if you were on local, the device never came online)
- fuse group β unused (the manager then excluded the device from control)
- lifetime energy counters β reset to 0
The integration already contained a migration that renames entities correctly and moves their restore state, but a stale version gate meant it never ran for 1.3.x installs. This release reactivates it (config-entry minor version bump 7 β 8). On the first restart after upgrading:
- entity ids and unique ids are migrated together (no
_2duplicates) connection,fuse groupand other settings keep their valuesaggr_*lifetime counters keep their totals- recorder history and long-term statistics are carried over
- references in your YAML (automations, dashboards) are rewritten automatically
No manual cleanup needed. If you already worked around this by hand (e.g. set fuse_group back to your group), your setup keeps working.
Big thanks to @qpaz for the detailed root-cause analysis and for testing the fix, and to @Bashbob and @fipiblitz for confirming the workaround that pointed at the cause.
Upgrade note
Take a Home Assistant backup before upgrading (good practice for any release that migrates the entity registry). The migration runs once and is idempotent.
Full Changelog: 1.4.1...1.4.2