The level switch detects the di-electrical value of the media and can therefore easily be configured to separate two medias with different di-electrical values (e.g. masking a foam layer.). This video shows the easy programming of the sensor for detecting different medias.