Automation from Calendar Event

I am trying to create an automation that will run a script based on a specific calendar event. When there is an all day event in my calendar called “SLOUGH” i would like it to wait to 07:45 then run the script. Below is the automation i have, the trigger with offset time works, but the condition doesnt seem to match so the action doesnt run. Any help would be appreciated.

alias: Car - Pre-condition Car
description: “”

  • platform: calendar
    event: start
    entity_id: calendar.calendar_simon_personal
    id: Calendar Event
    offset: “7:45:0”
  • if:
    • condition: and
      • condition: trigger
        • Calendar Event
      • condition: template
        value_template: “{{ trigger.calendar_event.summary == ‘SLOUGH’ }}”
    • service: script.1701087118794
      data: {}
      enabled: false
    • service: notify.mobile_app_rmx2144
      message: Climate toggled for journey to Slough
      mode: single

Please post your code as preformatted text (</> in the cogwheel menu in the toolbar). Very hard to read otherwise.

Look at this post that I added earlier this morning: