It\'s quite easy to represent the behaviour of a TOGGLE SWITCH (for a lamp let\'s say) using a FSM. You have two states (ON and OFF) and then two transitions labelled PUSH B