Automations correction

I have some automations I wrote and it seems that they dont work gives me errors to lines can anyone see my first automation and see whats the problem cause i dont see any

automation:
  - alias: 'Green Lights Garden A on'
    trigger:
     - platform: state
        entity_id: sun.sun
        to: 'below_horizon'
     condition:
      - condition: time
        weekday:
          - mon
          - tue
          - wed
          - thu  
    action:
      service: switch.turn_on
      entity_id: switch.sonoff_1000321709

Indentation. Always two spaces, no more, no less - I’ve put a # on each line I’ve changed…

automation:
  - alias: 'Green Lights Garden A on'
    trigger:
      - platform: state   #
        entity_id: sun.sun
        to: 'below_horizon'
     condition:
       - condition: time  #
         weekday:        #
           - mon     #
           - tue      #
           - wed     #
           - thu       #
    action:
      service: switch.turn_on
      entity_id: switch.sonoff_1000321709