Calendar.get_events -> openepaperlink

hi,

please don’t hit me - I´m a little bit lost with this, YAML alway makes me crying at my age :wink:

what I want:
Get the events for today and tomorrow from one of my calendars (Caldav, iCloud calendar) once a da (00:05am) and if there are events in the calendar it should be published to an openepaperlink device.
Since several days I am trying to get the right informations, I just did one more step and found the right thing. Going du developer tools → action entering this

action: calendar.get_events
target:
  entity_id: calendar.privateltern
data:
  start_date_time: "{{ today_at('00:00:00') }}"
  duration:
    hours: 24

it just makes what I need, the output:

calendar.privateltern:
  events:
    - start: "2025-01-16T12:30:00+01:00"
      end: "2025-01-16T13:30:00+01:00"
      summary: blabla

my question:

where do I need to put the yaml and what do I need to use this information/output for openepaperlink?
I assume I have to use the output and write it into a sensor (this would make sense, because I can use a sensor status as an output in openepaperlink)

Can I do this steps in on automation or do I need a helper (which type)?

Please kick me into the right direction

Thanks
supergrover