-
Notifications
You must be signed in to change notification settings - Fork 9
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 request: put in a specific date to count towards #12
Comments
i like the idea, i would like to use it for mantaince. |
@Gluwc would you be able to take a look at this? Saw you recently updated this repository again after a while, I think this would be a great addition. |
I did merge a PR, but I don't have time to work on this card at the moment unfortunately. Hopefully sometime in the future or maybe someone else can make a PR for this. |
FWIW I've used a template sensor to show how many days until a specific date, like so: days_until_something:
friendly_name: Something Day
icon_template: mdi:calendar-check
value_template: >
{% set midnight = now().replace(hour=0, minute=0, second=0, microsecond=0).timestamp() %}
{% set event = '2025-12-31' | as_timestamp %}
{% set delta = ((event - midnight) // 86400) | int %}
{% if delta < 0 %}
{{ -delta }} Days Ago
{% elif delta == 0 %}
Today!
{% elif delta == 1 %}
Tomorrow
{% else %}
In {{ delta }} Days
{% endif %} I do like this idea, but maybe this can help in the interim. |
First of all - I love using this card! Its great for reminders.
I think it would be really helpful to allow the card to get a date input, and it would count down towards that date. Example use cases:
This would be a great help with keeping track of chores like this that aren't very predictable, this card would be perfect for this.
The text was updated successfully, but these errors were encountered: