Battery (experimental): batteryicon: visualize actual percentages (#31917)

This commit is contained in:
Maschga 2026-07-18 21:03:04 +02:00 • committed by GitHub
parent b6cca9ea1b
commit 28d36a51f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@
</div>
<div v-if="forecast?.highest" class="d-flex justify-content-between gap-3">
<span class="d-flex align-items-center gap-2 fw-bold">
<BatteryIcon :soc="95" />
<BatteryIcon :soc="forecast.highest.soc" />
{{ pointLabel(forecast.highest, true) }}
</span>
<span class="text-muted text-end">{{
@ -23,7 +23,7 @@
</div>
<div v-if="forecast?.lowest" class="d-flex justify-content-between gap-3">
<span class="d-flex align-items-center gap-2 fw-bold">
<BatteryIcon :soc="10" />
<BatteryIcon :soc="forecast.lowest.soc" />
{{ pointLabel(forecast.lowest, false) }}
</span>
<span class="text-muted text-end">{{