I installed this new motion sensor switch. Everything works fine after I activate the sensor length of time to stay on. it will work until there is no activity after 5 or 10 minutes then it will only work manually. If I reset it again it will turn on with motion until it is left alone a while then it resets back to manual on off only? Any ideas? I am guessing its not a bad switch and something in the wiring hook up. Note: the blue wire in capped off, the ground wires and black wires are connected...