diff --git a/frontend/src/pages/Planning.tsx b/frontend/src/pages/Planning.tsx index 070758a..d9243a0 100644 --- a/frontend/src/pages/Planning.tsx +++ b/frontend/src/pages/Planning.tsx @@ -387,6 +387,9 @@ function PlanTooltip({ const buy = i.effective_buy_price const sell = i.effective_sell_price const pred = isPredictedPriceSlot(i, nowMs) + const fveStr = formatPlanPowerW(p.pv_a_w) + const fveDisplay = fveStr === '—' ? '—' : fveStr.includes('kW') ? fveStr : `${fveStr} W` + const soc = p.battery_soc_target_pct return (
{formatLocal(i.interval_start)}
@@ -398,6 +401,8 @@ function PlanTooltip({ Cena nákup: {buy != null ? `${buy.toFixed(3)} Kč/kWh` : '—'} · prodej:{' '} {sell != null ? `${sell.toFixed(3)} Kč/kWh` : '—'}
+
FVE (A / předpověď): {fveDisplay}
+
SoC cíl: {soc != null && !Number.isNaN(Number(soc)) ? `${Number(soc).toFixed(1)} %` : '—'}
Baterie: {i.battery_setpoint_w ?? '—'} W
Síť: {i.grid_setpoint_w ?? '—'} W
TČ: {i.heat_pump_enabled ? 'zapnuto' : 'vypnuto'}