The race to electrify every house in the U.S. just got a jolt courtesy of California. The most populous state in the country has passed new energy codes that incentivize electric appliances and efficient heating and cooling systems, a move that could wind down the use of fossil fuels in buildings.