An electromechanical actuator of a covering device, the electromechanical actuator comprising at least: a casing, the casing comprising at least a wall (28, 39), the wall of the casing comprising at least an opening, an electric motor, an electronic control unit, and a switching device, the switching device comprising at least: a first member, the first member being attached on the wall of the casing by means of removable attachment elements and arranged opposite to the opening of the wall of the casing, in an assembled configuration of the electromechanical actuator, and a second member, the second member being movable relative to the first member, in the assembled configuration of the electromechanical actuator, the electronic control unit comprising at least: a switch, the switch being activated via the second member of the switching device through the opening arranged in the wall of the casing, depending on a position of the second member relative to the first member, in the assembled configuration of the electromechanical actuator, a printed circuit board, the switch being assembled on the printed circuit board, in the assembled configuration of the electromechanical actuator, characterized in that the printed circuit board comprises an electrical connection device arranged opposite to the opening of the wall of the casing, in the assembled configuration of the electromechanical actuator, the electrical connection device being accessible through the opening of the wall of the casing, following a removal of the first and second members (23, 24) from the wall of the casing, by disassembly of the removable attachment elements. a casing, the casing comprising at least a wall (28, 39), the wall of the casing comprising at least an opening, an electric motor, an electronic control unit, and a switching device, the switching device comprising at least: a first member, the first member being attached on the wall of the casing by means of removable attachment elements and arranged opposite to the opening of the wall of the casing, in an assembled configuration of the electromechanical actuator, and a second member, the second member being movable relative to the first member, in the assembled configuration of the electromechanical actuator, a first member, the first member being attached on the wall of the casing by means of removable attachment elements and arranged opposite to the opening of the wall of the casing, in an assembled configuration of the electromechanical actuator, and a second member, the second member being movable relative to the first member, in the assembled configuration of the electromechanical actuator, the electronic control unit comprising at least: a switch, the switch being activated via the second member of the switching device through the opening arranged in the wall of the casing, depending on a position of the second member relative to the first member, in the assembled configuration of the electromechanical actuator, a printed circuit board, the switch being assembled on the printed circuit board, in the assembled configuration of the electromechanical actuator, a switch, the switch being activated via the second member of the switching device through the opening arranged in the wall of the casing, depending on a position of the second member relative to the first member, in the assembled configuration of the electromechanical actuator, a printed circuit board, the switch being assembled on the printed circuit board, in the assembled configuration of the electromechanical actuator, characterized in that the printed circuit board comprises an electrical connection device arranged opposite to the opening of the wall of the casing, in the assembled configuration of the electromechanical actuator, the electrical connection device being accessible through the opening of the wall of the casing, following a removal of the first and second members (23, 24) from the wall of the casing, by disassembly of the removable attachment elements.