our pantry has a rocker switch to turn on/off the flourescent light, but my husband forgets to turn it off manually. I'd like to know if we can install a motion sensor in place of the rocker switch and how is that done?
So you're looking for something like this?
It's an "Occupancy Sensor Wall Switch", which combines the functionality of an on/off pushbutton with a PIR motion sensor.
You would simply remove your existing switch and replace it with something like one of these.
When it senses movement it turns the lights on, and then after a pre-determined period of no activity it automatically turns them back off again.
You can also use the pushbutton to manually toggle the lights.