Calendar.get_events

hi!
now calendar.get_events return in result set the name of calendar and events

calendar.school_bell:
  events:
    - start: "2023-12-08T09:00:00+02:00"
      end: "2023-12-08T09:30:00+02:00"
      summary: Математика
      description: Тетяна Василівна

how to get event in template?

text: "{{ action_response.calendar.school_bell.events | length }}"   # use the action's response
text: "{{ getattr(action_response, 'calendar_school_bell').events | length }}"   # use the action's response

it doesn’t work :frowning:

     text: "{{ action_response['calendar.school_bell'].events | length }}"   # use the action's response

like javascript.

sorry. got it!