The move comes amid a dangerous heat wave.