Trigger: Time pattern, every hour between certain times of the day on certain days

Can someone help out with a trigger for an automation that triggers a time pattern every hour hours: /1 between 9pm and 6am monday wednesday and friday?

thanks

trigger:
  - platform: time_pattern
    hours: "/1"
    minutes: 0
    seconds: 0
condition:
  - condition: time
    after: "21:00:00"
    before: "06:00:00"
    day:
      - wed
      - thu
      - fri
action:
  - service: etc...