Not too sure of your attic temps but I’m in the UK and I have my main cam switch in my loft where in summer it can heat up like a greenhouse, never measured the temps but a few minutes up there is enough to come out in a sweat.
I’ve always had my POE switch up there, had an 8+2 Trendnet and...