rianadon / timer-bar-card

A progress bar display for Home Assistant timers
Other
371 stars 15 forks source link

Display remaining time in minutes #108

Closed wookash closed 7 months ago

wookash commented 11 months ago

Hello, great card! I'd like to be able to display remaining time in 'XX min' format. Is it possible?

rianadon commented 11 months ago

It is! resolution: minutes is what you're looking for.

wookash commented 11 months ago

hello, thank you, however, it does not work for me..

here's my card (I'm using mushroom slider and then with conditional enable your timer)

image

but it looks like this:

image

and card info: `type: entities card_mod: style: | ha-card { margin-bottom: 0px; max-height: 185px; } entities:

rianadon commented 11 months ago

Ah I see what you mean. I can definitely add an option for this, maybe a format option where you can pass formats like h:mm:ss or m min

wookash commented 11 months ago

Perfect, thank you!

TheZoker commented 9 months ago

Yes that would be very welcome 🎉

joergsti commented 8 months ago

I have a long runnning timer (2 weeks) - It would be beneficial to display the remaining days

rianadon commented 7 months ago

This will be in the release today. The format will be using % for substitution, so you can do %m min, %d days, or combine them into %H:%MM:%SS (which is equivalent to the shorthand hms).

wookash commented 7 months ago

works as intended, thank you!