The electrode rods SW1 to SW5 of the water sensor W1 are preferably composed of a material such as titanium (Ti) or a titanium alloy which has corrosion resistance with respect to hypochlorous acid and hypochlorite ions contained in the electrolyzed water.