Conditions for Setting the DTC: P0117
WARNING: This page is about a different car, the 2010 Chevrolet Cobalt. However, it is still accessible from the selected car via links, so may be relevant.
The ECM detects that the ECT is warmer than 142°C (288°F) for greater than 4 seconds.