Yes, the switch should be install before the residual valves. Some switches will tell you not to put them after the valves. Root