; and (ii) in subparagraph (A), by inserting and eligible local governments after State energy offices ; and (B) in paragraph (2)— (i) in subparagraph (C)(i), by striking redistributed to the State energy offices operating a high-efficiency electric home rebate program in proportion to the amount distributed to those State energy offices under that clause and inserting , subject to subparagraph (D), distributed to each eligible local government for which an application, submitted not later than December 31, 2024, by such eligible local government, under subsection (b) is approved ; and (ii) by adding at the end the following: (D) Distribution The Secretary shall distribute money under subparagraph (C)(i) so that the total amount received by all eligible local governments described in subparagraph (C)(i) within a State is equal to the total amount reserved for the State energy office of the State under subparagraph (A). . (2) Application Section 50122(b) of the Public Law 117–169 ( 42 U.S.C. 18795a(b) ) is amended by inserting , eligible local government, after A State energy office . (3) High-efficiency Electric Home Rebate Program Section 50122(c) of the Public Law 117–169 ( 42 U.S.C. 18795a(c) ) is amended— (A) in paragraph (1), by inserting , eligible local governments, after State energy offices ; (B) in paragraph (5)(A), by inserting , eligible local government, after State energy office ; (C) in paragraph (8), by inserting , eligible local government, after State energy office ; and (D) in paragraph (9), by inserting , eligible local government, after State energy office . (4) Definitions Section 50122(d) of the Public Law 117–169 ( 42 U.S.C. 18795a(d) ) is amended— (A) in paragraph (2), by inserting , eligible local government, after State energy office