I’m quite new here. I have a few sensor that contain dates (time part is irrelevant). Now I wan’t to display them in lovelace with values like “Today” or “in 5 days”. I’ve tried setting the device class to “timestamp” and that helped a little. But there are a few issues with that:
- My iPad App says “Invalid date”
- Because the Date also includes the time (always 00:00:00) it says “6 hours ago” at 6am. Instead it should say “Today” the whole day.
What is best practice to achieve this behaviour?