Smart water valves are expensive, costing $500 and over, but they can prevent several thousands of dollars in water damage.