Capacitance level switches