Another electronic liquid level switch technology is a capacitive type, sensing level by changes in electrical capacitance between the switch and the liquid. The below photograph shows a couple of capacitive switches sensing the presence of water in a plastic storage vessel:
