Revert "Flip getSwitchState boolean value"

This reverts commit 109e64f66e1559e056fddeebd2fd97a8a1b2719d.
Flip switch bits

Possible fix for #2