You can use calendar triggers described Calendar - Home Assistant
If you have a more complex automation triggered by something other than the calendar event, you can make a template binary sensor from the event triggers. This is an example searching for an event with a specific name:
- trigger:
- platform: calendar
event: start
entity_id: calendar.device_automation_schedules
offset: "-24:00:00"
- platform: calendar
event: end
entity_id: calendar.device_automation_schedules
offset: "-24:00:00"
binary_sensor:
- name: Trash Pickup Tomorrow
state: "{{ iif('Trash Pickup' in trigger.calendar_event.summary, iif(trigger.event == 'start', 'on', 'off'), states('binary_sensor.trash_pickup_tomorrow')) }}"
So then you have a binary sensor you can reference from the automation.