Time offset before or after timestamp type entity?

I have a timestamp type entity that displays itself as HH:MM[:SS]. I wish to have one action performed 2 hours before the time and one action 10 minutes after the time.

I have searched both this forum and the Internet as well but cannot seem to find any solution [without helper(s), blueprint(s) and/or configuration item(s)] for this.

So my question is: what do I need to modify to accomplish

triggers:
  - trigger: time
    at: >-
      {{ as_timestamp
      (as_datetime(states("sensor.my_next_alarm"))+timedelta(minutes=10)) }}

?

The above should launch action(s) at 10 minutes after sensor.my_next_alarm time. I know the sensor.my_next_alarm to be working as I can trigger action(s) against it directly.

Templates are not supported in Time triggers like that:

Time Trigger docs

- alias: Trigger 2 hours before my next alarm
  trigger: time
  at:
    entity_id: sensor.my_next_alarm
    offset: "-02:00:00"

For the positive offset, you will likely be better off triggering on the sensor then starting a timer or using a wait action. Another option would be to trigger on the sensor and set an Input Datetime to the desired time, then use that in your trigger.

Thanks for the heads up!

I love the solution of triggering Input Datetime to the desired time and using it.

For my needs I will use the offset of -2hrs for before and Wait for 10 mins after.