true if the switch is on, false if it is off, or null if the current state is unknown.
true
false
null
bool? state;