Sun conditions support optional offset value ( before_offset
, after_offset
)
I’d like to see the same feature for time conditions.
Example of how it could look like:
condition: time
before: input_datetime.bedtime
before_offset: '-00:15:00'
Current workaround with templates is rather difficult to read.