I have created an an automation triggered on the Delay change, this updates the Start-timer.
How can I calculate and update the Countdown-timer in the automation?
It shall be the time-delta of:
“current time (now()”, subtracted from “input_datetime.drying_cabinet_start_time”
How do I calculate this and update the timer: “timer.drying_cabinet_countdown”
But the actual question was regarding the timer: “Countdown”:
“How do I calculate this and update the timer: “timer.drying_cabinet_countdown””. I want to update the countdown timer.
EDIT: This was what I was looking for, duration can take seconds: