Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95925

Trying to create a count up timer for a laundy cycle that displays in minutes:seconds

$
0
0

@bruck wrote:

I’ve been through a bunch of topics and posts (and tests) but I have not seen someone attempt something close enough that I can copy it close enough.

When my dryer switches from idle to drying state, I want to start a “timer” of time elapsed to display in minutes:seconds on my entity card for the timer. I can’t count down because different cycles have different times and its simpler to give the user/me the elapsed time. Bonus would be the ability to resume the timer if the state change is close enough (so if you pause it for 30 seconds to take a single article of clothing out - but start back at zero the next time a load is started.

I’ve tried history_stats and I got this working but it doesn’t reset to zero its cumulative (which I understand is the point of that function) and I have to adjust the templating to really get it to display in mintues:seconds. Next I tried timer.start function but it also counted down, so i found someone counting up with a step calculation separate automation but It wasn’t clear to me how to translate it. Thanks for any guidance.

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>