OK, that was simple, just remove the "=", and all works just fine.Working on programming the other toggle switch to turn off the skimmer so it can be maintained. However, I can't seem to get the code to work.
Set ON
If Output Returpump = OFF Then OFF
Defer 005:00 Then ON
If skimsh = OPEN Then OFF