An electromechanical actuator for a closure or sun-protection home automation installation, comprising: - a casing, - an electric motor, - a sealing element for one end of the casing, - a power cable, - an electronic control unit, - where the electronic control unit is positioned inside the casing and electrically connected to a first electrical connector, - where the sealing element comprises a housing, the first electrical connector being arranged opposite the housing of the sealing element or at least partially inside the housing of the sealing element, - where the power cable comprises, at one of its ends, a second electrical connector, the second electrical connector cooperating with the first electrical connector, so as to supply the electric motor with electricity, - where the second electrical connector comprises an elastic tab, said elastic tab comprising: ▪ a stop element cooperating with a cavity arranged in the housing of the sealing element, ▪ a first end connected to a body of the second electrical connector, and ▪ a first flexure zone arranged at the junction between the first end of the elastic tab of the second electrical connector and the body of the second electrical connector, characterized in that - the stop element of the elastic tab of the second electrical connector is arranged at a second free end of the elastic tab of the second electrical connector, and - the elastic tab of the second electrical connector comprises a second flexure zone arranged at the junction between an arm of the elastic tab of the second electrical connector and the stop element of the elastic tab of the second electrical connector. - a casing, - an electric motor, - a sealing element for one end of the casing, - a power cable, - an electronic control unit, - where the electronic control unit is positioned inside the casing and electrically connected to a first electrical connector, - where the sealing element comprises a housing, the first electrical connector being arranged opposite the housing of the sealing element or at least partially inside the housing of the sealing element, - where the power cable comprises, at one of its ends, a second electrical connector, the second electrical connector cooperating with the first electrical connector, so as to supply the electric motor with electricity, - where the second electrical connector comprises an elastic tab, said elastic tab comprising: ▪ a stop element cooperating with a cavity arranged in the housing of the sealing element, ▪ a first end connected to a body of the second electrical connector, and ▪ a first flexure zone arranged at the junction between the first end of the elastic tab of the second electrical connector and the body of the second electrical connector, ▪ a stop element cooperating with a cavity arranged in the housing of the sealing element, ▪ a first end connected to a body of the second electrical connector, and ▪ a first flexure zone arranged at the junction between the first end of the elastic tab of the second electrical connector and the body of the second electrical connector, - the stop element of the elastic tab of the second electrical connector is arranged at a second free end of the elastic tab of the second electrical connector, and - the elastic tab of the second electrical connector comprises a second flexure zone arranged at the junction between an arm of the elastic tab of the second electrical connector and the stop element of the elastic tab of the second electrical connector.