I have a script that generates heating on/off times along with temperature set points. At the moment I have times for when kids are at school and times for when they are at home.
The time is printed as ‘07:30’ as a string and my question is, is there a way of adding a timedelta to this string? For example
Either use the removesuffix function or the strptime filter/function.
If you want exact code to just copy-paste, post your complete code. It is pretty messy and difficult to understand what is supposed to be HASS/YAML and what is a Jinja template.