A tenant who has made a payment to a utility pursuant to Section 777, 777.1, 10009, 10009.1, 12822, 12822.1, 16481, or 16481.1 of the Public Utilities Code, or to a district pursuant to Section 60371 of the Government Code, may deduct the payment from the rent as provided in that section.
Ca. Civ. Code § 1942.2