mirror of
https://github.com/home-assistant/frontend.git
synced 2026-07-02 03:55:52 +01:00
89bd1058df
The gauge card reads its display value from the formatted state parts. A monetary value is split into multiple value parts around the currency symbol, so the minus sign lands in its own part. Taking only the first value part meant a value like -182.95 GBP rendered as just "-". Join all value parts so the full number is shown again. Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>