Try below.  If your level sensor resistance is 4-120Ohm, then this will give you an output something like 0.2V -2.7V.  The filter will dampen a "step change" over about 1minute.