A sanitary fitting comprising a) a mixing device, which is connected to a cold water connection via a cold water valve, connected to a warm water connection via a warm water valve as well as connected to an outlet, b) an actuating element, which acts mechanically on the mixing device for changing the water temperature of the water provided at the outlet, c) a release element, and d) an electric control device, which is connected to the cold water valve, the warm water valve and the release element, in order to trigger release of the water in case of need, characterized in that e) a position sensor is provided, which is connected to the control device, and cooperates with the actuating element in order to detect its position (1 to 7), f) the control device is adapted to: - detect, if, starting from an idle mode, the release element is actuated first or the actuating element is actuated first, and - to release water when the release element is actuated, wherein the operator is allowed to change the water temperature via the actuating element by means of the mixing device, or - to release water when the actuating element is actuated for changing the water temperature, wherein the operator, by actuating the actuating element, can select only between entirely cold or entirely warm water. a) a mixing device, which is connected to a cold water connection via a cold water valve, connected to a warm water connection via a warm water valve as well as connected to an outlet, b) an actuating element, which acts mechanically on the mixing device for changing the water temperature of the water provided at the outlet, c) a release element, and d) an electric control device, which is connected to the cold water valve, the warm water valve and the release element, in order to trigger release of the water in case of need, characterized in that e) a position sensor is provided, which is connected to the control device, and cooperates with the actuating element in order to detect its position (1 to 7), f) the control device is adapted to: - detect, if, starting from an idle mode, the release element is actuated first or the actuating element is actuated first, and - to release water when the release element is actuated, wherein the operator is allowed to change the water temperature via the actuating element by means of the mixing device, or - to release water when the actuating element is actuated for changing the water temperature, wherein the operator, by actuating the actuating element, can select only between entirely cold or entirely warm water. - detect, if, starting from an idle mode, the release element is actuated first or the actuating element is actuated first, and - to release water when the release element is actuated, wherein the operator is allowed to change the water temperature via the actuating element by means of the mixing device, or - to release water when the actuating element is actuated for changing the water temperature, wherein the operator, by actuating the actuating element, can select only between entirely cold or entirely warm water. - to release water when the release element is actuated, wherein the operator is allowed to change the water temperature via the actuating element by means of the mixing device, or - to release water when the actuating element is actuated for changing the water temperature, wherein the operator, by actuating the actuating element, can select only between entirely cold or entirely warm water.