New to HA, configuration check

Hi all,

hope you are all well? I am very new to home assistant and trying to learn as I go along. I have set an automation to open the upstairs blinds in the morning. What i am looking to achieve is to check the calendar first to see if there is a school holiday. if there isn’t, open the blinds at 8am. If there is, open the blinds at 9am. I just wanted to check if i am doing it the right way for automations based on calendar events.

many thanks

alias: Blinds Open
description: Checks for holiday.  If "True" open at 8am if "false" open at 9am
trigger:
  - platform: time
    at: "08:00:00"
    id: 8am
  - platform: time
    at: "09:00:00"
    id: 9am
condition:
  - condition: time
    weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
action:
  - choose:
      - conditions:
          - condition: state
            entity_id: calendar.family
            state: "off"
            for:
              hours: 0
              minutes: 0
              seconds: 5
          - condition: trigger
            id:
              - 8am
        sequence:
          - service: cover.open_cover
            metadata: {}
            data: {}
            target:
              entity_id:
                - cover.eli_blind_cover
                - cover.main_bedroom_blind_cover
                - cover.mollys_blind_cover_2
      - conditions:
          - condition: state
            entity_id: calendar.family
            state: "on"
            for:
              hours: 0
              minutes: 0
              seconds: 5
          - condition: trigger
            id:
              - 9am
        sequence:
          - service: cover.open_cover
            metadata: {}
            data: {}
            target:
              entity_id:
                - cover.main_bedroom_blind_cover
                - cover.eli_blind_cover
                - cover.mollys_blind_cover_2
mode: single