Some light-switches have the "smarts" to turn on and off at certain times, built right into them. Therefore, you might lose access to the external tool you used to program them, and they'll happily continue on repeating the behaviors. You might try a hard reset, often using a paperclip to depress a microswitch though a small hole on the light switch itself.