Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Time format should use time format setting added in 2021.6 #125

Open
Unfocused opened this issue Feb 20, 2022 · 0 comments
Open

Time format should use time format setting added in 2021.6 #125

Unfocused opened this issue Feb 20, 2022 · 0 comments

Comments

@Unfocused
Copy link

Home Assistant 2021.6 added a time format setting per-user:

Available options are:

  • Auto (use language setting) (DEFAULT)
  • Use system locale
  • 12 hours (AM/PM)
  • 24 hours

Currently this card just uses the language setting, ignoring this user setting. Would be good if it followed the user preference.

AFAICT, it's available via hass.locale.time_format, which will be one of language, system, 12, or 24.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant