A switching device for switching an electric motor, where the switching device is arranged on a component which is driven in rotation by the motor. The switching device is characterized in that a contactless, absolute position-measuring device, an evaluation unit for evaluating position signals and an output unit for outputting switching information for indirectly switching and/or directly switching the motor current as a function of a position signal are provided within a single housing.