Got it OK - I will do that. I’ll go for say 10 seconds to start with.
Edit: What does cancel all pending tasks actually do? The point of using it is to stop all the random lighting automation stuff happening in the first if statement. What I don’t want is for it to mess with the logic in the second if to turn all lights off and turn landing light on.