Add code / model for a limit switch