Input_datetime offset in Gui

**Might be a duplicate but can’t find the original post

I appreciate you can do this with some templating but seen plenty of examples throughout the forums where people could use this. If we want to drive this towards the average Joe or Juliannes then could be a handy thing.

Often see examples where someone has an alarm set for 22:00 which is a bedtime alarm but based on their alarm want the lights to start fading down xx minutes before. Rather than templating in seconds ,which seems to confuse almost everyone, you could do an offset in a familiar format.

Could be a feature very similar to the sunrise/sunset offset we currently have:

    - platform: sun
      event: sunrise
      offset: '-01:00:00'

Adding a vote for this one. Since it’s been recognised that this would be useful for the new calendar trigger, maybe for consistency it could be added for the input_datetime trigger ie

platform: time
at: input_datetime.alarmtime
offset: '-00:15:00'

For example turn on coffeemaker 15 minutes before alarm time