I’ve always struggled with showing Alexa timers on my dashboards. Nothing ever looked right, and the solutions I tried never really worked for me.
When I built the Hatch Card, I added a small timer mechanism. Mainly so the light would turn green when nap time was over, but also so I’d know roughly when I put my kid down for a nap (and not let him oversleep).
That gave me the idea: wouldn’t it be nice to have a card that shows all my timers, exactly the way I want them?
Thanks for trying it out.
Can you share the state and attributes of this entity? I admit the auto mode isn’t great, so you’ll probably need to switch to a different mode.
When I change any of the other attributes in the UI like color or icon, it changes to auto and I have to go back to the code editor to manually set it back to timer
I’ll play with it some more and let you have some more feedback ASAP, but what would be useful - at least for me - would be the option to driectly/manually trigger timer actions like from my above example:
Found a few bugs that I fixed in the latest release (v1.3.0). I also added an option to keep native timers visible on the card when idle. Let me know if it works for you!
Might be a stupid question but why can’t the state of the timer be stored using the HA timer entity? I was expecting that adding 30min for my timer would change the “duration” attribute in the entity. Am I understanding this card wrongly?
This functionality isn’t available right now. The card supports displaying Home Assistant timer entities and lets you start, pause, or cancel them, but not modify their duration. You can, however, create local or MQTT timers directly on the card with custom names and durations.
Thanks! Your setup looks great. Right now there’s no option to change the “no timers” icon, but you can adjust the secondary text color using card-mod. Just note it’ll also affect the timer action buttons and secondary info:
card_mod:
style: |
:host {
--secondary-text-color: #2196f3; /* your color */
}
Thank you. That worked. I will play around with it and make it work for me.
Would love the ability to change the icon. Could I add that as a feature request, if and when you get the chance. No worries if not it is still very useful card, Thank you.
I would love to do it myself but no that great at coding and don’t know how GitHub works.
@eyalgal may still be useful to change, so it can be edited from the UI for anyone in the future but @dcapslock card mod work around is working for me.
The mobile notifications? They are based on an automation, so you can use the triggers from the example and customize the title and message as you like. Make sure to follow the guide here.
Thanks for this eyalgal, great solution for my kitchen dashboard to create timers while cooking.
I am having difficulty getting the audio file to play on my Google Nest Hub while casting the dashboard to it, audio plays fine while testing the dashboard within my browser using the config below though. Do you know if there is a way to configure this? Maybe using the play.media function?
Is there any way for the card to display a timer created by voice assist? I won’t be able to specify the entity ahead of time since it has not been created. To replace my kitchen Alexa I would really like to say “set a timer for (some minutes)” and have a card display the timer while I continue to cook. Thank you!