DLEX5780WE lg dryer shutting off before the clothes are dry

If the sensor bars have continuity with each other when bridged with a damp cloth, the main control EBR76542943 would be the most likely cause of failure. Since the unit is operating properly in a timed dry, the failure is specifically in the sensor portion which would consist of the control and the bars.