Also I like to use the Security Light Driver by Control4. It is great for secondary motion areas (closets, some hallways, garage, sheds, possibly bathrooms). It allows you to connect a motion sensor to a light in the house and set how long you want the light to stay on for, the ramp rates, and more all while avoiding programming. I have been using it for the past few months in my home and in many customers homes to avoid touchy programming and get the best results. Give it a try and let me know what you think. It has replaced tons of programming time and troubleshooting at least for me!
Good luck!