instead of polling the switch for its status, ask it once and keep track of when we change it...seems to work better this way