Weekday conditions - What is wrong with my config?

I am trying to create an automation, but I must be configuring it incorrectly. Can anyone tell me what needs changing, please?

description: ""
mode: single
trigger:
  - platform: time
    at: "08:00:00"
condition:
  - condition: time
      weekday:
        - mon
        - tue
        - wed
        - thu
        - fri
action:
  - service: script.school_travel_time
    metadata: {}
    data: {}
  - service: notify.mobile_app_jakes_11_max_pro
    data:
      message: >-
        "  The journey to Grace's school will take approximately
        {{states('sensor.school_travel_time') }} minutes!"
alias: school travel time ios notification

Indentation of weekday.

description: ""
mode: single
trigger:
  - platform: time
    at: "08:00:00"
condition:
  - condition: time
    weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
action:
  - service: script.school_travel_time
    metadata: {}
    data: {}
  - service: notify.mobile_app_jakes_11_max_pro
    data:
      message: >-
        "  The journey to Grace's school will take approximately
        {{states('sensor.school_travel_time') }} minutes!"
alias: school travel time ios notification
1 Like

:man_facepalming: Thank you, I knew it was me being dumb.