An electronic module for a fan of an internal combustion engine in a motor vehicle comprising at least one deformable element (12, 28, 68), which when deformed can engage with a part (4) of the fan in a detachable manner, and at least one rigid projecting retaining element (24, 66), which can be inserted in a direction of insertion into a receptacle (26) or opening (38, 78) of a fan frame (4) before the deformable element (12, 28, 68) engages, wherein after the retaining element (24, 66) is inserted into the receptacle (26) or opening (38, 78), the electronic module (2) is movable with a single degree of freedom different from the direction of insertion in order to bring the deformable element (12, 28, 68) into engagement with the fan frame.