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 (EM); - a first level detection electrode (EOFF); and - a second level detection electrode (EON), wherein said processing means comprises a means for measuring a first capacitance (C2) between said ground electrode (EM) and said first level detection electrode (EOFF) and a second capacitance (C3) between said ground electrode (EM) and said second level detection electrode (EON), device characterized in that the lengths of said first level detection electrode (EOFF) and second level detection electrode (EON) 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 (EA), with a length shorter than said second level detection electrode (EON), said measurement means also provides a third capacitance (C4), measured between said ground electrode (EM) and said alarm level detection electrode (EA), and in that said ground electrode (EM) said first level detection electrode (EOFF) and second level detection electrode (EON) 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 (EM); - a first level detection electrode (EOFF); and - a second level detection electrode (EON), wherein said processing means comprises a means for measuring a first capacitance (C2) between said ground electrode (EM) and said first level detection electrode (EOFF) and a second capacitance (C3) between said ground electrode (EM) and said second level detection electrode (EON), device characterized in that the lengths of said first level detection electrode (EOFF) and second level detection electrode (EON) 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 (EA), with a length shorter than said second level detection electrode (EON), said measurement means also provides a third capacitance (C4), measured between said ground electrode (EM) and said alarm level detection electrode (EA), and in that said ground electrode (EM) said first level detection electrode (EOFF) and second level detection electrode (EON) 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. <EOS>