Can I add an option to this piston below so that it will be cancelled if someone turns off the light at the switch?
I ask because I believe that the TCP setting on this piston will not allow it to be cancelled from the switch.
The section I was going to add to the piston (copied from another piston that was shared here - forgotten which thread I found it on!) is below.
on events from
- switch 4
do - Cancel all pending tasks