Pressure transducer and anti-flood device assembly for an apparatus, for example a washing machine; said apparatus comprising a main container, for example a washing tank, for containing a quantity of liquid during the use; and a secondary container in fluid communication with said main container, said pressure transducer and anti-flood device assembly comprising a transducer and an anti-flood device; said transducer being configured for receiving, as an input, a pressure signal (Sp) taken by a liquid held in said main container and comprising circuit means, for providing, as an output, an electric control signal (Sc) having a variable parameter representing said pressure signal (Sp); said anti-flood device comprising: - a receptacle intended to be inserted into the secondary container, whereby said secondary container is configured for collecting the liquid of a possible leak from the main container, said receptacle being arranged for receiving and holding a part of liquid coming from said secondary container, and - a float arranged to move to a height representing the level of the liquid contained inside the secondary container, movably mounted in said receptacle and arranged for moving up to a height representing the level reached by said part of liquid held in said receptacle; whereby said anti-flood device further comprises a sensor configured for detecting the height reached by said float in said receptacle and for transmitting an electric level-indicating signal (Sl) representing said height to said circuit means; whereby said circuit means is configured for applying, to said variable parameter representing said pressure signal (Sp), a correction which is determined as a function of the level-indicating signal (Sl) according to predetermined criteria; and whereby said sensor is a proximity sensor which is contained in a casing of said pressure transducer. said transducer being configured for receiving, as an input, a pressure signal (Sp) taken by a liquid held in said main container and comprising circuit means, for providing, as an output, an electric control signal (Sc) having a variable parameter representing said pressure signal (Sp); said anti-flood device comprising: - a receptacle intended to be inserted into the secondary container, whereby said secondary container is configured for collecting the liquid of a possible leak from the main container, said receptacle being arranged for receiving and holding a part of liquid coming from said secondary container, and - a float arranged to move to a height representing the level of the liquid contained inside the secondary container, movably mounted in said receptacle and arranged for moving up to a height representing the level reached by said part of liquid held in said receptacle; - a receptacle intended to be inserted into the secondary container, whereby said secondary container is configured for collecting the liquid of a possible leak from the main container, said receptacle being arranged for receiving and holding a part of liquid coming from said secondary container, and - a float arranged to move to a height representing the level of the liquid contained inside the secondary container, movably mounted in said receptacle and arranged for moving up to a height representing the level reached by said part of liquid held in said receptacle; whereby said anti-flood device further comprises a sensor configured for detecting the height reached by said float in said receptacle and for transmitting an electric level-indicating signal (Sl) representing said height to said circuit means; whereby said circuit means is configured for applying, to said variable parameter representing said pressure signal (Sp), a correction which is determined as a function of the level-indicating signal (Sl) according to predetermined criteria; and whereby said sensor is a proximity sensor which is contained in a casing of said pressure transducer.