TLDR: It would be nice to have a custom component that can show a visual countdown time in the WebUI.
Afternoon All,
It would be nice if we could have a native countdown timer that can be used to show in the Web UI. One that could cover all bases (Days, Hours, Minutes & Seconds). Also would be nice to chose what to show (ie 1 Hour 30 Minutes or instead 90minutes).
I appreciate there are some custom components that tackles part of the above, such as:
Custom Countdown Component by @speakquietly
Something like this only tackles days though (can be tweaked) and can not be used ‘on the fly’. By ‘on the fly’ I mean I can’t have a generic automation call a 10 minute countdown it has to be predefined.
There is also this adaptation the command_line.py:
An example of a countdown timer, and some related questions by @forbin
However it is not a simple process to edit command_line.py in Hass.io. I appreciate you could probably SSH in and edit it or even add command_line.py as a custom component, however I’ve had no joy (command_line.py doesn’t seem to have the referenced line any more ‘MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=60)’ it seems to have ‘SCAN_INTERVAL = timedelta(seconds=60)’ now instead)
Regardless it still doesn’t encompass an all in one solution.
Why would you need / want a component like this?
Personally I use the custom component mentioned above in my ‘Car’ section of my HA. It shows me days until my MOT and days until my service is due.
I am also trying to get a countdown timer going for my ‘Kitchen’ tab in home assistant for my laundry. I have a timer set up witch sends a push bullet but it would be nice to just have a look at HA and see how much time is left.
Other than the above I think it would be useful for loads of reasons. You could have recipe countdowns (doing roast, when to put potatoes on, other vegs.), you could use it to help test automations (
stick a countdown timer in there and check if things are going off at the right time). I’m sure there are plenty of other reasons a visual count down timer would be useful. If you can through the forum a fair few people have tackled this in different ways, it would just be nice to have a simple straightforward native component that idiots like me could use.