Always check your user manual to determine if your washer can be connected to flood-safe devices as it may vary per brand.  According to Whirlpool, flood-safe devices may interfere with the performance of their washers. They recommend connecting your appliance directly to the water supply.