As you know, California power grids are a disaster. PG&E mismanaged their grid in the north so badly that fires were started and homes were destroyed and people died. Southern California Edison is not much better although they have fewer fires started by their grid.
The answer is incredibly simple – put batteries in your home to save the power generated by solar panels. You can find all the data you need on this web site as it grows.