I dont know if it is possible to combine these two programs. My girlfriend can't stand the keypad lights and switchlinc LED at night. So, I made two programs. One dims or eliminates the lights and the other returns the lights to normal levels when daytime returns. I didn't know if it is possible to accomplish what I did with one program using If, Then, Else rather then two.
-Paul