v2.5.2
🐛 Fixes
- fix: passive DC PV charging continues during active charge actions
- fix: divide per-cycle degradation cost by 2x usable capacity
- fix: apply grid capacity cap to baseline cost
- fix: align commitment-filter spread with the oscillation filter
- fix: guard against zero battery capacity in zero-grid SoC percentage
- fix: skip elapsed periods in timestamped forecast_prices/forecast formats
- fix: clamp terminal price at zero for negative feed-in tails
- fix: DST-safe index-based skip for daily price arrays
- fix: explicit unit handling for power and SoC sensors
- fix: redistribute setpoint when the concentration winner is at its SoC limit
- fix: price-change fallback trigger no longer goes dead at a zero price
- fix: gate efficiency calibration on actually executed DP plan
- fix: resample feed-in forecast from its own native interval
- fix: hybrid mode no longer downgrades planned grid charging on a small PV surplus
📦 Other
- ci: bump codecov/codecov-action from 6 to 7
- refactor: remove dead terminal_shadow_price parameter
- docs: fix inverted shadow-price threshold formulas
- docs: update stale SOC_RESOLUTION_WH comment
- refactor: remove unused power limits from ZeroGridControllerConfig
- refactor: replace assert with explicit fallback in _fill_missing_timestamps
Installation via HACS
Install or update via HACS — the new version will be offered automatically.
Manual installation
Download battery_controller.zip, extract and copy battery_controller/ to your custom_components/ directory.