If a lessor fails to fulfill his or her obligations, as prescribed by Section 1955, the lessee, after giving him or her notice to do so, if the notice can conveniently be given, may expend any reasonable amount necessary to make good the lessor's default, and may recover such amount from him or her.
Ca. Civ. Code § 1957