Was thinking about it, and I don't know what the cost would be, but I wonder if you could get hire a programmer to work with the whatsminer API and the temperature monitors you have in the room.
As the temp goes up it throttles down the miners, as the temp drops it throttles them back up.
Would probably require a lot of trial and error and obviously a PC or 2 in the room but it might actually generate more
BTC. If it's a cooler day or as the ambient temperature drops at night the miners clock up a bit. But, during the heat of the day they slow down to keep the temperature manageable.
Just a thought.
https://www.whatsminer.com/file/WhatsminerAPI%20V2.0.3.pdf-Dave