FR: Add ability to format values in frontend #7553
Unanswered
jsiemek
asked this question in
Other feature requests
Replies: 1 comment
-
I'm not so sure about templates, but maybe this could be put in the same group as #7808 because both are about number displaying. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We sometimes have to deal with big numbers like lux values, number of packets, consumption of energy, ect.
So it will be nice to display them in format: 123.123.455,32
Declaring additional template sensor for all of then is more than a bit wired.
So it will be nice to have possibility to specify formatting options for frontend.
Something like {{ '{0:,.2f}'.format(sensor.name) }} in card definition.
Beta Was this translation helpful? Give feedback.
All reactions