I have seen several pistons like the following :
Only when Time is between sunrise and sunset
IF Contact_1 changes to open
Do stuff
The trigger (yellow lightening bolt) is on the IF. Is this syntax acceptable? Will the piston trigger correctly or should it be written in reverse, such as :
IF Contact_1 changes to open
THEN
IF Time is between sunrise and sunset
Do stuff
OR
If Contact_1 changes to open
AND
Time is between sunrise and sunset
Do Stuff