Hayward, CA’s new electric reach code requires all new residential buildings to be all-electric, while nonresidential and high-rise residential buildings are electric preferred. Mixed-fuel buildings must install solar panels, and the energy budget must be 10 percent better than code.