Is there something missing/wrong in this piston (inspired by other pistons I found on this forum)?
The problem seems to be that lights might end up staying on all night. I assumed all commands within the same “DO” block (turn on, set level, wait, turn off, wait) would be executed if the “while” condition is true.
Is that not the case, i.e. is the “while” condition checked for every individual command (which may result in the last turn off NOT to be executed)?
Thanks