Localization and formatting¶
The card normally uses the names, states, units, icons, precision, and locale already known by Home Assistant. That keeps a card consistent with the rest of the dashboard without repeating display settings for every entity.
This page shows what the card takes from Home Assistant automatically and how to override formatting only when a particular card should display something differently.
Use the Home Assistant display¶
Use Home Assistant formatting when the card should follow the same unit, precision, and locale the user sees elsewhere in Home Assistant.
Entity tools can now use the localized name, state, unit, icon, and area supplied by Home Assistant.
Override the display for this card¶
Override formatting locally when this card needs different text or numeric presentation without changing the Home Assistant entity itself.
Change number formatting¶
Use the number-format options when the displayed precision or decimal formatting needs to differ from the Home Assistant default.
Show a raw state¶
Use a raw state when the original Home Assistant value is more useful than its normal formatted display.
Use a specific locale¶
Set a locale only when this card should format values differently from the active Home Assistant locale.
Formatting options¶
Use this table to choose the smallest formatting override needed; omitted options continue to follow Home Assistant where applicable.
| Option | Use |
|---|---|
separator | Shows or removes numeric grouping |
decimals_min | Minimum displayed decimal places |
decimals_max | Maximum displayed decimal places |
raw_state_keep | Shows the raw entity state |
raw_state_clean | Replaces underscores in a raw state with spaces |
locale | Uses a specific locale for this entity |