A heat wave that is expected to bring triple-digit temperatures too parts of Southern California has prompted state officials to issue a flex alert ahead of the hot weather.