Depends on the type of sensor, but in the case of a device like the Fibaro, no.
A typical flood sensor works like this:
The flood detector has three sensors. When any two of those make contact with water, the water completes the electrical circuit which allows an alarm to sound. The completed circuit also activates a back to base alarm signal.
The water itself is conductive for completing the circuit. They basically only know on/off.
In contrast, water sensors often work more like a humidity sensor, detecting a percentage difference.
Float valves are another option.
ultrasonic sensors are also used in closed tanks, but not usually in home automation.