 and upgrading electrical grids to withstand more intense heat. About a third of the money came from the bipartisan infrastructure law passed by Congress in 2021. Rebecca Herscher, NPR News. And I'm Dale Willman, NPR News.