Air Solenoid Valve Safe under the hood?

Got my shocker kit installed, my Valve is mounted in the engine compartment on the fender wall. Away from the engine but still under the hood. So will the heat damage it in anyway?

The valve that came with the kit works but sticks open sometimes and scares the sh*t out of everyone. Thinking of getting a SMC, just want to make sure im not hurting it by putting it in the engine compartment.

no mine was under hood and no problems.