The battery (CR2450) in my garage door sensor was getting low, so I replaced it. I’ll keep the old one in my electronics kit for LED testing, as shown in this video. Touch the longer leg (anode) of the LED to + and the shorter leg (cathode) to –. Usually + is the top of the battery where the words are. Don’t worry, you won’t hurt the LED if you connect it the wrong way.
Teardown: LED Push Light
I bought a 2 pack of these LED push lights because I wanted one for a broom closet. I was curious how cheap and simple the construction was, so I took the other one apart to see how it worked.