I want to program this:
1. If motion detected in hall (No problem)
2. And it's night (No problem) or Override switch (Generic I/O X10 device) is on (??)
3. If I'm not watching a film, reset the counter to 3 mins, and if the hall light is not already on, turn it on
I'm having trouble with number 3, and putting an AND in number 2.