Rotary switch-construction for stem-actuated valve