Build on top of v1.8.3-alpha.87. The production chart is replaced with the Energy Lifeline concept.
What it shows
One horizontal axis (00 h to 24 h). One signed net curve in the middle:
- Above the axis: solar SURPLUS (the home is producing more than it consumes). Stroke colour follows --energy-solar-color.
- Below the axis: DEFICIT (consuming more than producing, pulling from the grid or draining the battery). Stroke colour follows --energy-grid-consumption-color.
Net is derived from the energy-balance identity:
production - consumption = (grid_export - grid_import) + (battery_charge - battery_discharge)
so no extra consumption sensor is required.
Past = solid line, future = dashed line. A thin white cursor marks NOW when the card is today.
A soft battery SoC area fills the background, 0 % at the bottom edge of the chart to 100 % at the top, in a vertical gradient tinted with --energy-battery-in-color. Lets the user read net + battery health in one glance.
Removed
- src/card/dashboardChart.ts deleted (production chart module ~660 lines)
- renderCardChartBlock + formatPowerForChart + formatHoverTimeLabel + handleChartHover + handleChartHoverLeave from dashboard.ts (~244 lines)
- All .dash-cf-card-chart-* CSS (header, value, plot, cursor, tooltip, dot, forecast, grow keyframe, etc., ~304 lines)
- CardChartBundle interface + buildDashCharts wiring in renderDashboard