Relative formatting for date only ("today", "tomorrow", "yesterday", ...) #8191
Replies: 3 comments 2 replies
-
Some context for others reading this: If the But I think OP wants to have an additional one like |
Beta Was this translation helpful? Give feedback.
-
This should also exist for entities with a device class of |
Beta Was this translation helpful? Give feedback.
-
I think this definitely should be added. Here's a real life example: I have 2 template sensors:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there!
I have several sensors created by the Google Calendar integration reporting a datetime. I would like to display the date as a relative date in the entities card, but without the time, as these dates represent the whole day.
Those are displayed for example as "in 5 hours" instead of "tomorrow". I would love to output the sensors dates as "today", "tomorrow", "yesterday", "in 5 days", "in 2 weeks" and so on.
Keep on the amazing work!
Beta Was this translation helpful? Give feedback.
All reactions