Flickering Light Delay

So tried to make a flickering light for a horror game. I created some values and delays, so the light is going off and with a delay of 0.2 seconds the light is turning on again. I repeated this scene some times so I get a flickering light. But the problem is, at first the light turns off, then on, then off and then it stays off until it reaches the end of the nodes and sets the value to on. I think the problem are the 0.2 seconds off the delay, because when I use 1 second it works fine, but this is to slow for my flickering light, turning on and off every 1 second. When I try to set the delay under 1 second the same issue happens and I dont know why. I already checked my notes and its everything okay. But I want to know why the light stays off after the second time.

This is an old thread, but I thought I’d post my solution to the flickering light problem in case anyone else comes across this in the future.