Swapping binary event code.

* On = open/wet
* Off = closed/dry