Abstract: A valve for controlling fluidic media is constructed with a movable operating element which acts simultaneously as a switching element of an electrical switch. The surfaces of the valve casing or the valve sleeve or the movable operating or switching element are mutually insulated and interrupted at specific positions of the switching element by contacts perpendicular to the direction of movement of the switching element which bridges the contacts. At least one contact may be formed by the valve seat to indicate maximum closure and one contact is located on the valve cover to indicate full opening of the valve.