To be used with the float switches for liquid level sensing (found on ebay). Mount the sensor to a rail that can be adjusted to the level you need.
I made these for a hydroponic garden with sensors in it.