Help wiring timed fan switch
I think you've got the LINE and LOAD swapped.  I think the red wire from the switch, should go to the single black wire that was on the old switch.  I'd guess that the bundle of black wires is made up of the feeder, a feed to another branch, and the pigtail to the switch.