A device for controlling a condensate lift pump, comprising a means for detecting at least two condensate levels in a container, processing means and a means for activating and for stopping said pump according to said levels, and a printed circuit support carrying at least a portion of said processing means, in which said detection means comprises a capacitive detector comprising at least three electrodes (EM, ER, EOFF, EON, EA), each comprising a conductive armature isolated by at least one dielectric isolation element, connected to a means for processing: - a ground electrode; - a first level detection electrode (EOFF); and - a second level detection electrode, wherein said processing means comprises a means for measuring a first capacitance between said ground electrode and said first level detection electrode (EOFF) and a second capacitance between said ground electrode and said second level detection electrode, device characterized in that the lengths of said first level detection electrode (EOFF) and second level detection electrode are defined so as to come into contact with said condensates, when the latter respectively reach said first level and said second level in said container, in that it comprises an alarm level detection electrode, with a length shorter than said second level detection electrode, said measurement means also provides a third capacitance, measured between said ground electrode and said alarm level detection electrode, and in that said ground electrode said first level detection electrode (EOFF) and second level detection electrode are produced on distinct supports not having a submergible physical continuity between them, said distinct supports being produced in an extension of said printed circuit support and extending beyond said alarm level, so that an upper portion of each of said electrodes is never in contact with said condensates. - a ground electrode; - a first level detection electrode (EOFF); and - a second level detection electrode, wherein said processing means comprises a means for measuring a first capacitance between said ground electrode and said first level detection electrode (EOFF) and a second capacitance between said ground electrode and said second level detection electrode, device characterized in that the lengths of said first level detection electrode (EOFF) and second level detection electrode are defined so as to come into contact with said condensates, when the latter respectively reach said first level and said second level in said container, in that it comprises an alarm level detection electrode, with a length shorter than said second level detection electrode, said measurement means also provides a third capacitance, measured between said ground electrode and said alarm level detection electrode, and in that said ground electrode said first level detection electrode (EOFF) and second level detection electrode are produced on distinct supports not having a submergible physical continuity between them, said distinct supports being produced in an extension of said printed circuit support and extending beyond said alarm level, so that an upper portion of each of said electrodes is never in contact with said condensates.