mirror of
https://github.com/home-assistant/frontend.git
synced 2026-02-15 07:25:54 +00:00
* Normalize SI unit prefixes in distribution card proportions * Extract SI prefix normalization to shared utility with tests Moves normalizeValueBySIPrefix to src/common/number/ so it can be reused. Replaces the inline method in the distribution card and the switch statement in getPowerFromState (energy.ts).