A valve controller includes a housing, and a lever extending from the housing. The lever includes a protrusion rigidly attached to the lever, and the lever is biased to an initial position. A switch has an open and a closed position. A linkage is pivotally connected to the switch, and the linkage includes a centrally disposed slot configured to receive the protrusion such that movement of the switch controls movement of the linkage and the lever such that moving the switch to the closed position closes a valve controlled by the lever regardless of a position of the lever.