kalkih / mini-graph-card

Minimalistic graph card for Home Assistant Lovelace UI
MIT License
3.06k stars 237 forks source link

[FR] Format numbers according to "Number format" of user profile #1103

Closed dr3amr closed 6 months ago

dr3amr commented 6 months ago

Hi @kalkih ,

Was looking at #495 but now HA has a Number Format in the user profile, would be great if you could change how numbers are displayed based on this rather than Language. I use English everywhere (apps, phone etc) but use numbering format from my country (which uses , for decimals instead of . ). All other cards are aligning to this preference in the user profile rather than Language. If this would be rather hard perhaps some custom attribute can be created to switch from one format to the other. Thanks.

ildar170975 commented 6 months ago

duplicate https://github.com/kalkih/mini-graph-card/issues/1010

dr3amr commented 6 months ago

@ildar170975 sorry did not see #1010 ...