Energyflow: consumers drawing power show 0.0 kW
Is your feature request related to a problem? Please describe.
A consumer that draws power should never show 0.0.
The energy flow uses one unit for all entries, chosen from the largest of grid import, PV, battery and export (powerUnit() in Energyflow.vue). Once that value reaches 1,000 W, every entry is shown in kW with one decimal. A consumer drawing 40 W then reads 0.0 kW and looks like it is off.
A second, smaller annoyance: when PV or grid import hovers around 1 kW, the same consumer reads 200 W, then 0.2 kW, then 200 W again.
Describe the solution you'd like
Every consumer that draws power shows a non-zero value. Either of these would solve it for me:
- A setting in Settings > User interface, next to the distance unit: Power unit: Automatic (default) / W / kW. A fixed unit keeps one unit for all entries and also stops the flip.
- Three decimals in kW, so 1 W reads
0.001 kWand 40 W reads0.040 kW.
Additional context
None.
🤖 Generated with Claude Code
Confirmed in the code: powerUnit() in assets/js/components/Energyflow/Energyflow.vue picks one unit for all entries from the largest value, and Entry.vue formats with it, so small consumers round to 0.0 kW once the unit flips to kW. Both proposals (a fixed power unit setting in the UI settings, or more kW decimals) are feasible, but which one to take is a UX decision for the maintainers.
🤖 Generated with Claude Code