Abstract: A method for grounding an electrical component received in a body (2) capable of being assembled to a cover (3), the cover (3) being in electrical contact with the electrical component when it is assembled on the body, said method involving: positioning the cover (3) relative to the body (2) using a centring piece (8) arranged in the body (2) and in electrical contact with the body (2), and assembling the cover (3) positioned in this way on the body (2) in such a way that the cover (3) is in electrical contact with the centring piece (8) and in electrical contact with the electrical component.