v4.3.10 - Fix negative cost statistics
Bug Fix
- Fix negative cost on Energy Dashboard - Cost sum was using a separate anchor that could desynchronize from the energy anchor, causing large negative costs after clearing energy statistics or on the current day.
- Cost is now derived directly from energy:
cost_sum = energy_sum × price— always perfectly synchronized. - Removed dead cost pre-fetch code from coordinator.
After Update
Cost should self-correct on the next hourly update. If stale cost data persists, clear cost statistics via Settings → Statistics for *_cost entities and optionally re-import via fetch_history service.