Hi, I am not that good in code and templates, so I’m struggling with dates and times.
I want to have a calculation in an automation that compares the current time with 17:00 today, so I can use the time difference to set a climate timer.
Any hints or helpful articles to achieve this?
17:00 may also be a helper if that’s easier!
Using your first suggestion works really well!! Strange enough, the timer is actually set to 16:59 in the Tado app, but I can live with that if it does this always I’ll add a minute to the calculation!