Fixing state of the lights upon every interval pass