Cal. Gov't Code § 7060
(a) No public entity, as defined in Section 811.2, shall, by statute, ordinance, or regulation, or by administrative action implementing any statute, ordinance or regulation, compel the owner of any residential real property to offer, or to continue to offer, accommodations in the property for rent or lease, except for guestrooms or efficiency units within a residential hotel, as defined in Section 50519 of the Health and Safety Code, if the residential hotel meets all of the following conditions:
(b) For the purposes of this chapter, the following definitions apply:
(1) “Accommodations” means either of the following: