Frigidaire dishwasher/ ceiling fan (Avon st, Charlottesville)

Occasionally gives error code :20 or :30, which is a bad drain sensor I think, I replaced the drain motor so that’s not it. I am tire of dealing with it but someone with some plumbing experience would do well, ceiling fan works fine

       
Approximate Location         Show marker