How to make this rule more efficient

You might want to check out

You’ll then need to monitor power reporting events during your washer cycles to figure out what works for you. Keep in mind modern washers consume a small amount of electricity even when “off.”