Add condition that can read from icloud calendar?

i have an automation that turn the heating on and off based on the time of day and the days of the week, this works correctly.

however, as the room is a home office, there is no point heating if i’m not working (ie on annual leave, but not necessarily out of the house as there is already a trigger where it won’t run if i’m not at home).

i have my annual leave marked as entries in my apple icloud calendar (as all day appointments)

is there way to modify the automation so that if doesn’t trigger if there is an annual leave entry on that day?

I have the apple icloud integration installed.

this is the current automation

alias: Office Heating On
description: ""
triggers:
  - trigger: time
    at: "08:00:00"
    weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
    alias: When time is 08:00 on weekdays
conditions:
  - condition: zone
    entity_id: device_tracker.simons_iphone_3
    zone: zone.home
    alias: Simon is at home
actions:
  - action: climate.set_temperature
    metadata: {}
    data:
      temperature: 21
    target:
      entity_id: climate.office
    alias: Set temperature in office to 21 degreess
mode: single