I am planning on installing some LED light strips in a closet full of shelves. I am using an A/C adapter (wall wart, brick, what have you) connected to the strip, which plugs into an outlet. I plan to have the outlet controlled by a light switch to provide on/off to the light strip.
Is it possible to use a motion sensor as the light switch?
Or, is there an easier way to get the LED lights to turn on automatically?