I’m trying to work out how to calculate the number of days between two dates, something like:
value_template: "{{ (as_timestamp(states.calendar.kayak_trips.attributes.end_time) - as_timestamp(now())) }}"
Just not sure how to format the result of this as a number of days?