Thursday marked a day of unpredictable weather, as a heat wave that continues to bake most of the Western United States prompted the California Independent Systems Operator to issue a Flex Alert for the state, while thunderstorms brought downpours to the Southland in the morning hours.