Conductive surfaces with dynamic switching in response to temperature and salt