Cal. Gov't Code § 66475.3
For divisions of land for which a tentative map is required pursuant to Section 66426, the legislative body of a city or county may by ordinance require, as a condition of the approval of a tentative map, the dedication of easements for the purpose of assuring that each parcel or unit in the subdivision for which approval is sought shall have the right to receive sunlight across adjacent parcels or units in the subdivision for which approval is sought for any solar energy system, provided that such ordinance contains all of the following:
(5) Specifies that the ordinance is not applicable to condominium projects which consist of the subdivision of airspace in an existing building where no new structures are added.
For the purposes of this section, “solar energy systems” shall be defined as set forth in Section 801.5 of the Civil Code.
For purposes of this section, “feasibility” shall have the same meaning as set forth in Section 66473.1 for the term “feasible”.