Homekit-panel-card
Homekit-panel-card copied to clipboard
Number Format - number.toLocaleString ?
Is there any way to format the representation of the number for a card ?

entities:
- title: "Wasserverbrauch"
entities:
- entity: sensor.wasser_liter_jahr
name: Jahr
localestring: 'de-AT' ## this way ??
tap_action:
action: more-info
entity: sensor.wasser_liter_jahr
Result for number.toLocaleString(localestring):
Number(54123.990).toLocaleString("de-DE")
"54.123,99"