You asked the same question back on Nov. 1 in this thread: Code to not turn lights off that are already on. The app there could easily be modified to do what you want.
You asked the same question back on Nov. 1 in this thread: Code to not turn lights off that are already on. The app there could easily be modified to do what you want.