Don't switch the relays constantly, only when changing states.
Don't switch the relays constantly, only when
changing states.

The previous code did this correctly, but due to
code simplifications this was removed as well. Not
a big problem, but it's nicer not to switch
constantly.
mjholtkamp/shofanduino,mjholtkamp/shofanduino,mjholtkamp/shofanduino