Skip to content

✨ New Features

Latest

Choose a tag to compare

@cataseven cataseven released this 06 Jul 08:21
57c510b

🌍 Time Zone & Language Support

🕐 Time zone awareness (#281)

The card now resolves its display time zone the same way native Home Assistant charts do: it follows your Profile → Time zone preference by default. If your HA server and your device are in different zones (e.g. while traveling), the card and the built-in graphs now show identical times in the same frame.

A per-card override is also available:

time_zone: auto        # default — follow Profile → Time zone (Server/Local)
# time_zone: local     # always the device/browser zone
# time_zone: server    # always the HA server zone
# time_zone: Europe/Istanbul   # any IANA name — e.g. for wall tablets

Notes: Users whose profile is set to Local see no change at all. Recorder long-term statistics with day/week/month periods are aligned server-side in the server zone (same as native HA). The custom-range calendar popup picks dates in the device zone.

🗣️ On-card language support (#283)

All on-card texts now follow your Profile → Language setting automatically: date picker presets ("Today", "This Week", …) and relative range labels ("Last 7 days", …), the Group-By / Points-per-hour pickers, tooltip and legend words (Total, Min/Max/Avg/Sum, Median/Q1/Q3, Value, Running total, …), calendar hints, and empty-state messages.

16 bundled languages: Čeština, Dansk, Deutsch, English, Español, Français, Italiano, Nederlands, Norsk, Polski, Português, Русский, Suomi, Svenska, Türkçe, 中文 — with automatic mapping for pt-BR, zh-Hans/zh-Hant and no.

language: auto     # default — follow Profile → Language per viewer
# language: de     # pin the card to one language (wall tablets)

State words are translated too. Non-numeric states shown in the State Timeline segments and tooltips (on/off, heating, home, …) are now rendered through Home Assistant's own translations (hass.formatEntityState) — device-class aware and available in every language HA supports. Your own state_map labels always take precedence; older HA versions fall back to the raw state.

⚙️ Editor

General SettingsCardLocalization group hosting the Language and Time Zone selectors side by side

image