Water level sensor that closes the valve when the tank is full

It works with the external Sonoff relay that opens or closes the valve. When the tank is full the STM32 "clicks" on the Sonoff button to close the valve.