Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Display countdown time for timer entities instead of status #684

Open
SGXander opened this issue Aug 8, 2022 · 3 comments · May be fixed by #1099
Open

[Feature]: Display countdown time for timer entities instead of status #684

SGXander opened this issue Aug 8, 2022 · 3 comments · May be fixed by #1099
Labels
enhancement New feature or request

Comments

@SGXander
Copy link

SGXander commented Aug 8, 2022

Is your feature request related to a problem?

Not related to a problem

Describe the solution you'd like

For the entity card and entity chip can timer entities display the countdown as they do when in a normal entity card please.

Describe alternatives you've considered

templating the calculation produces a countdown that only updates once a minute and is suboptimal when compared with the default entity card

Additional context

the template chip could also use this although I am not sure how it could be implemented

@SGXander SGXander added the enhancement New feature or request label Aug 8, 2022
@Tamago2000
Copy link

Another one with the same issue!!!

@RickeyWard
Copy link

RickeyWard commented Apr 4, 2023

I have implemented this as a separate countdown card instead of hijacking the built in entity card (since this seems to be how must of the cards are done, instead of adding options to existing cards just add another card)

@piitaya I'm very happy to create a pull request if this is something that the maintainers might accept, I've seen PRs say that they should have been discussions before prs

mushroom-countdown-card
Just renders the entity state as a countdown (hours minutes seconds) hiding empty values as long as the state domain is timestamp. Otherwise behaves likes an entity card.

comparison

https://github.com/RickeyWard/lovelace-mushroom/tree/feature-countdown-timer-card

@RickeyWard RickeyWard linked a pull request Apr 6, 2023 that will close this issue
9 tasks
@RickeyWard
Copy link

Working with maintainers on how to get this feature included, they don't like the idea of making it its own card but they haven't gotten back to me if they want additional options for base entity card.

In the meantime I created an addon build that adds the features for anyone that wants it.

Mushroom-countdown-card gist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants