Card that counts days and resets when pressed?

I could’ve swore that throughout my time on the forums and subreddit I have seen configs that have a counting card with a reset button.

I have searched all round and found no solution or add-on that works this way.

Does anyone know what I am talking about? The counter card counts days until specified date as far as I can tell.

I am looking for it to add a number each day and to press reset every time I change my air filter.
I would set specific dates to countdown, but the time between changes varies.

Thank you!

Couldn’t you just create a counter and a switch/button to reset it and put that on an entities card?

@chief_tate, I’m not sure I entirely understand what you’re trying to do, but I’m pretty sure that my custom variable component can handle it.

Do you want a counter that counts up from 0 (adding 1 every day) and resets to 0 when you press a button?

Or are you looking to count down the number of days until the date when you need to change your filter. And the reset button starts the countdown over?

If either of those sounds like what you want, I can show you how to do it with my variable component (and perhaps a simple automation and text_input).

Omg, how could I not find this??? thanks dude, ik it was a pathetic question lmao. awesome config btw.

There are no pathetic questions, only pathetic answers. It is more pathetic to never ask and not knowing the answer :+1::joy:

1 Like