I was installing an HDTV antenna in my attic and there's an outlet up there to which I can plug in the amplifier. The problem is that both outlet plugs are switched - they're connected (along with two lights) to the light switch right by the attic door. When I turn off the switch, I lose power to my antenna amplifier as well (I resolved my problem short term by leaving the switch on and unscrewing the light bulbs).
It doesn't make sense why the plugs are switched - can I wire them to power to they're always hot, or is that against code? I'll just pull live power from the switch to the plugs if I can - it's not far - but I don't want to cause code or safety problems later.
Thanks! I live in Arizona, but if there's a potential code concern, I'll consult an electrician.