Health and Safety Code § 115925
ARTICLE 2.5. The Swimming Pool Safety Act
The requirements of this article do not apply to any of the following:
(a) Public swimming pools.
(b) Hot tubs or spas with locking safety covers that comply with the ASTM International F1346 standard.
(c) An apartment complex, or any residential setting other than a single-family home.