rianadon / timer-bar-card

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

Show elapsed time rather than remaining? #150

Open tungmeister opened 2 months ago

tungmeister commented 2 months ago

Hi, I've had a look through the docs and couldn't see this as an option but I'd like to display the amount of time elapsed in the card rather than the remaining time of a timer. Is this currently possible?

rianadon commented 2 months ago

Unfortunately that's not supported. I've never had anyone ask for that yet. I'm curious, what is the use case for showing elapsed time?

tungmeister commented 2 months ago

I'm wanting to show the amount of time in a day period that some entities have been in specific states. I'm using an automation to control the timers and also reset every day. From a quick glance I'd like to be able to see the duration the timer has been active for rather than the remaining time.

rianadon commented 1 month ago

I see. Stopwatches are for some reason not a thing in HA, and using a timer to create one is a pretty smart hack. I'll have to see how simple this is to implement.