PXHERE

Record high temperatures were expected in California鈥檚 Central Valley from Sacramento to outside of Los Angeles on Sunday, with officials warning that the dangerous heat wave could afflict the state through the end of the week and test the limits of the electric grid.聽

State officials on Sunday were urging residents to limit their power usage for the fifth day in a row as energy demand spiked and temperatures were still on the rise.聽

The worst of the heat was concentrated in the Central Valley on Sunday. The thermometer could hit 46 degrees Celsius by midweek, the National Weather Service said, warning residents to stay indoors to avoid heat-related illness.聽

鈥淭he heat wave begins in earnest today with dangerous temperatures now forecast to extend through the end of the week,鈥 National Weather Service Sacramento wrote on Twitter on Sunday.聽

The Southern California city of San Diego, which set a record temperature on Saturday of 35掳C, could set another record on Sunday, National Weather Service forecaster Tony Fracasso said, although a chance of afternoon thunderstorms could offer some relief.聽

The California Independent System Operator (ISO), which oversees the state鈥檚 electric grid, extended a 鈥渇lex alert鈥 to a fifth day, asking state residents to set their thermostats to 25.6掳C or higher, avoid using major appliances, and turn off lights in order to conserve energy.聽

鈥淪unday, Monday, and Tuesday in particular are shaping up to be the most difficult of this heat wave,鈥 the agency said in a news release.聽

It added that the state鈥檚 ongoing wildfires and potential new blazes could further strain the power grid by crippling lines and generators. More than two decades of drought and rising temperatures, exacerbated by climate change, have made California more vulnerable than ever to wildfires.聽

In Northern California鈥檚 Siskiyou County, where firefighters were battling the fast-moving Mill Fire that prompted thousands to evacuate their homes, the high temperature forecast for Sunday was 35掳C.聽

Two people died in the fire, Siskiyou County Sheriff Jeremiah LaRue told a community meeting on Sunday, according to a video that his office shared on social media.聽

Temperatures were expected to top 37.8掳C in the coming days. The fire had burned more than 4,000 acres and was 25% contained as of Sunday morning, according to the California Department of Forestry and Fire Protection. 鈥斅Reuters