Level switches to detect liquid level at specific points for control or warning systems