Question about rule machine repeat

I believe that your final “on” (before the Notify) is redundant. You start by turning the light off, then you do an odd number of Toggles, which leaves the light on.

the 10th on is supposed to leave the light on.. for longer .. that is the reset sequence.. you are correct though it could be done with one more toggle.. but i left it that way for clarity

the off and delay at that beggining is just to make sure the switch is in the correct state to start.

I believe that you misunderstood my remark.

Initial Off - light starts off.

Repeat loop repeats 9 times:

Loop 1: Toggle, light turns on
Loop 2: Toggle, light turns off
Loop 3: Toggle, light turns on
Loop 4: Toggle, light turns off
Loop 5: Toggle, light turns on
Loop 6: Toggle, light turns off
Loop 7: Toggle, light turns on
Loop 8: Toggle, light turns off
Loop 9: Toggle, light turns on

Light is left on. Next On is redundant. No extra Toggle is needed. That assumes you want the light left on, of course.

you are correct.. not sure why it works then.. weird.. will try removing it and retest.. in reallity there should be one more toggle as per spec.