The new clock card shows 21:20 aka 9:20pm(desired display) as 09:21pm. Do I need to use card mod to strip the leading zero or is there a better way to do this?
My system settings for my user profile show the time without the leading zero correctly.
The new clock card shows 21:20 aka 9:20pm(desired display) as 09:21pm. Do I need to use card mod to strip the leading zero or is there a better way to do this?
My system settings for my user profile show the time without the leading zero correctly.
The hour output for the standard Clock Card is a string so it’s not a simple fix. Others may have better resolution, but you can template a time sensor with the format you want.
{{now().strftime("%-H:%M")}}
Thanks. Yes I currently have a template sensor but was hoping I could just use this card and the card would/could support this.
Create a Feature Request