1) Give a description of the problem
Noob trying to figure out simple logic, piston runs, but light turns off as soon as motion ends
2) What is the expected behavior?
During Night mode, bathroom fan light turns on to 5 percent for 7 minutes and then turns off
During home/away mode, bathroom fan light and main light turn on to 100 percent and turn off after 20 minutes
3) What is happening/not happening?
Lights come on correctly, but shut off as soon and motion stops