Repository navigation
Releases
Releases · hierro1981/EniPlenitudeSolarPanels
v0.11.2
Fixed
- Preserve live cumulative energy, its recovery reference and the last counted sample in a native Home Assistant restore checkpoint, including when the published sensor state is unavailable. Restarting after an unavailable state no longer silently loses live energy and creates a new Energy Dashboard spike or negative production.
- Migrate valid legacy states with Wh/kWh/MWh conversion. If no usable checkpoint/state exists, recover the latest valid raw state from Recorder, never a repaired statistical sum. Existing counters with missing/inconsistent restore data or a lower recovery ledger remain unavailable and log the issue instead of publishing a reset; restore the saved data and reload to resume them.
- Expose
live_energy_whon Total Production for diagnostics. Restored sampling IDs prevent counting the same positive five-minute reading again; repairs and undo continue to leave live/recovered counters untouched. - Suggest repairing panels whose positive daily energy exceeds the entire API aggregate, in addition to negative/missing production. This includes both positive-reset spikes and negative totals in the repair selection.
v0.11.0
Added
- Add a configuration switch and maximum-power number entity for each panel, with durable settings loaded before the first poll. The initial threshold is twice the API nominal power (kW converted to W); missing nominal power leaves the threshold unset until entered manually, exposed by
threshold_requiredon the switch. - Cap excessive live readings before average power, five-minute energy, cumulative production and recovery sample storage consume them. Log capped readings; changes to controls apply to future samples and do not rewrite existing history or recovered allocations.
- Add the enabled-by-default “Enable limit for new panels” setting. It initializes newly discovered panels (including existing panels on first upgrade) without overwriting individual settings on later changes or restarts.
v0.10.3
Fixed
- Declare Babel as a minimum requirement (
babel>=2.18.0) instead of pinning an exact version, satisfying Hassfest and allowing newer versions selected by Home Assistant.