I was a bit disappointed by the available options for timer countdown display, so I decided to create a custom one. Maybe someone is looking for a similar style countdown, so am posting it here.
Update
I know that it might be misleading from the name of the card, but I have also recently implemented a minimal layout version of the card inspired by the Mushroom cards, which looks like this:
Available at:
Installation:
Add circular-timer-card.js to your lovelace resources
I just installed this last week, and it was easy to get up and running, and works great. I see a lot of people here saying they ran into problems - maybe those are just configurations errors? Maybe you want to post your configs in more detail so we can compare.
There was indeed an issue at the beginning that the card would not be loaded due to outdated CDN link. That was updated and should actually not be an issue anymore.
I have an issue with the card as well when using Firefox for the UI. It loads only in the companion app and Edge. So it may be browser dependent whether the card loads or not. In FF I just see ācustom element does not existā for this particular card, although I restarted the browser and system multiple times, so it cannot be a caching issue.
It is actually the only card where I see this type of issue in FF and I use a lot of various custom cards.
You can include options for name, tap_action, hold_action, and double_tap_action, and set all of those to ānoneā. See the documentation for more details, works just fine.
Very fine card, Karlis, I like it a lot! Would you be able to add to the various tap actions āCall serviceā, where service could be a script? I believe that would be a very useful addition to your card. Thanks!
Iāve downloaded the JS and added it as a resource, but when I create a card using this YAML example from Github I get āUnknown entity: timer.minuteā. This is my first try at a custom card so it is probably a rookie mistake:
You need to create a timer entity first. Under Settings > Devices & Settings > Helpers. Then, set the card entity to the name of your newly created timer. I know it is confusing, but the minute in timer.minute is not a duration but a name for the timer entity.