Dams with large storage reservoirs can help mitigate warmer downstream temperatures. Cold water from Dworshak Dam just upstream of the Snake River is released each summer to cool the water temperatures downstream.
Climate change is major driver of dangerous temperatures that warm rivers. Pulling out carbon-free resources—like hydroelectric dams—may worsen that problem long-term.
Army Corps of Engineers - Dworshak Dam Water Releases