Flip getSwitchState boolean value

It was returning false when on and true when off.

Closes #1