Conditions for Setting the DTC
WARNING: This page is about a different car, the 2007 Cadillac DTS. However, it is still accessible from the selected car via links, so may be relevant.
P0117
The ECM detects that the ECT is more than 149°C (300°F) for more than 5 seconds.
P0118
The ECM detects that the ECT is less than -39°C (-38°F) for more than 5 seconds.