Repeated alerts until moisture sensor no longer detects moisture

You could use Rule Machine to do this. It would take some thinking about how you want it to work, but definitely doable.