Cal. Health & Safety Code § 116786
(a) Notwithstanding subdivision (b) of Section 116785, a local agency may, by ordinance, limit the availability, or prohibit the installation, of residential water softening or conditioning appliances that discharge to the community sewer system if the local agency makes all of the following findings and includes them in the ordinance:
(1) Limiting the availability, or prohibiting the installation, of the appliances is a necessary means of achieving compliance with waste discharge requirements issued by a California regional water quality control board. In determining a necessary means of achieving compliance, the local agency shall assess both of the following:
(b) Notwithstanding subdivision (b) of Section 116785, a local agency may, by ordinance, limit the availability, or prohibit the installation, of residential water softening or conditioning appliances that discharge to the community sewer system if the local agency makes all of the following findings and includes them in the ordinance:
(1) Limiting the availability, or prohibiting the installation, of the appliances is a necessary means of achieving compliance with the water reclamation requirements or the master reclamation permit issued by a California regional water quality control board. In determining a necessary means of achieving compliance, the local agency shall assess both of the following: