Always leave a can of foam attached to the gun with the flow control screw closed.
Electrical conduit spray foam.
Store upright with a foam dispensing gun attached.
1 normal spray foam has chemicals in it including solvents and formaldehyde which dissolve the insulation on electrical wiring ditto to caulks 2 putting foam in there will thermally insulate the wiring potentially causing it to heat up more than it should.
Foam should be tack free in 10 to 15 minutes.
Activate can by pulling the trigger.
Fst is a proven solution that has been used for years to protect switchgear panels riser poles combiner boxes meters and all types of electrical and telecommunication apparatus.
Wipe away imperfections with a cloth soaked in great stuff foam cleaner.
There have been failures in the wiring because of the heat that can build up in the covered wires.
Invert can and insert it into the gap between wall and electrical box.
It creates a semi permanent seal and is reenterable.
Typically rough in electrical will be done before spray foam is applied with final connection of fixtures and other devices occurring after however it is often impossible to avoid running at least some circuits in insulated walls after the spray foam has been completed.
In their continuing education class the instructor mentioned that the national electric code is monitoring the use of field applied spray foam and electrical wiring that becomes imbedded in the process.