I recently installed LED string lights in the pantry in our Reflection 5th wheel (around the inside of the door frame facing into the pantry - not directly visible from outside the pantry). The first switch I tried didn't work. The magnetic reed switch ordered from Amazon couldn't handle the current and stayed closed (on) even when the magnet was removed from the switch. Several weeks later, I found a roller switch (mechanically activated by a roller on the end of a short spring steel arm) rated much higher and it is working fine. Found the switch at Radio Shack and the pantry lighting is awesome - and turns off when the door is closed.
Rob