California staves off more power outages amid heat wave