From:
https://www.contracosta.ca.gov/DocumentCenter/View/44645/RESIDENTIAL-POOL-AND-SPA-INSTALLATION
This part makes sense -
“All fixed metal parts, including underwater lighting, fittings, electrical equipment, piping, awnings, fences, etc. within 5 feet of the inside of the pool wall shall...