Increase room temperature as fast as possible, but without overheating

I wonder how the OP plans to handle the situation where the Arduino opens the heat valve and the the Arduino goes TU, leaving the valve open?

Paul