A method for controlling at least one item of electrical equipment of a motor vehicle, said vehicle comprising a device for controlling said item of electrical equipment, said device comprising a microcontroller that is configured to generate an AC electrical signal for controlling the item of electrical equipment, said signal being characterized by its duty cycle, the device comprising at least one driver interface that is configured to control the item of electrical equipment on the basis of the electrical signal generated by said microcontroller, said driver interface being characterized by a maximum operating temperature threshold beyond which the driver interface is inoperative, said method comprising:
- determining an internal temperature of the driver interface;
- comparing the determined internal temperature with a first predetermined warning threshold;
- and
- decreasing the duty cycle of the electrical signal when the first warning threshold has been exceeded so as to limit the power of the AC electrical signal for controlling the item of electrical equipment and thus to keep the internal temperature of the driver interface below its maximum operating temperature threshold,
- wherein the decrease in the duty cycle of the electrical signal is inversely proportional to the ratio of the internal temperature of the driver interface to the first warning threshold.