I had to replace the thermistor and the thermostat. They are located under the front panel of the dryer. Once I entered service mode and cleared the error code, the dryer worked. To enter service mode, turn on the dryer and hold down the chime and temperature buttons simultaneously for 3 seconds. From there, press the wrinkle prevent button and you will see a d. Hold the sensor dry level and time buttons for 3 seconds to clear the t5 error code. Turn the dryer off and then on again. Start your dryer cycle.