Cal. Bus. & Prof. Code § 7044
(a) This chapter does not apply to any of the following:
(1) An owner who builds or improves a structure on his or her property, provided that both of the following conditions are met:
(2) An owner who builds or improves a structure on his or her property, provided that both of the following conditions are met:
(3) A homeowner improving his or her principal place of residence or appurtenances thereto, provided that all of the following conditions exist:
(b) In all actions brought under this chapter, both of the following shall apply: