Setting time entity based on current time + 30 mins

Can anyone help here.

I want to run an automation that sets a time entity to the current time + 30 mins

I can set the entity using the action time.set_value but no idea how to set the value to the current time + 30 mins

actions:
  - action: time.set_value
    target:
      entity_id: time.foobar
    data:
      time: "{{ (now() + timedelta(minutes=30)).strftime('%X') }}"

If you don’t want to include the current seconds, replace '%X' with '%H:%M'