Rule machine triggering if and else if at the same time

Even trimming the condition to a very simple if off then turn on else turn off is not working.
As @bobbles pointed out, I believe this will require a variable.