Works similar to a Button, but holds its state as flipped or not flipped instead of being a momentary push button.
The state of this switch.
An InputSource to be used to trigger the switch's state.
Triggered when the Switch is flipped.
Stateis the new state of this switch.