Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match the format of numbers to the formating option selected #514

Open
Dakoriki opened this issue Feb 8, 2025 · 0 comments
Open

Match the format of numbers to the formating option selected #514

Dakoriki opened this issue Feb 8, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Dakoriki
Copy link

Dakoriki commented Feb 8, 2025

Is your feature request related to a problem? Please describe.
Feature request

The number formatting of this card does not match the used number formatting option in HA.

The card shows "-2.6°C", when the number format setting would normally make it "-2,6 °C"

It seems like HA pretty much always puts a space in-between the number and unit no matter what locale settings are used.

Describe the solution you'd like
Automatically match the formatting to the the user specific number formatting option in HA.

Describe alternatives you've considered
Or add an option to the card itself to force one formatting always?

For units I don't know if the HA locale even has a flag for a space or no space. If this information is not in the locale settings then maybe just an option in the card for a space or no space

Additional context
Image
Image
Image

@pkissling pkissling added the enhancement New feature or request label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants