Time Condition Only Trigger 4 Hours a Week

I have an automation that I want to work every day, all day except Sundays from 4am to 8am. Here is what I have:

- condition: time
      weekday:
        - mon
        - tue
        - wed
        - thu 
        - fri
        - sat 
      weekday:
        sun
      after: '08:00:00'  
      before: '04:00:00'

This disables the automation every day between 4-8am. Can someone point me in the right direction?

- condition: time
  weekday:
    - mon
    - tue
    - wed
    - thu 
    - fri
    - sat 
  weekday:
    sun
  after: '08:00:00'  
  before: '04:00:00'

and put it under conditions: or. indentations are probably wrong

Did you figure this out? If not, maybe:

- condition: or
  conditions:
    - condition: time
      weekday:
        - mon
        - tue
        - wed
        - thu 
        - fri
        - sat 
    - condition: time
      weekday:
        - sun
      after: '08:00:00'  
      before: '04:00:00'

I ended up going a different direction that achieved the result I was after. Thanks for following up with me.