The dryer code of E1 comes on after about 1 minute and flashes
If the sensor tests good and the wiring isn't an issue, i can't think of anything else than the electronic control.
You could make sure the dryer is venting properly. Maybe its an airflow problem? Try running a load with the venting totally removed from the dryer to see if the functioning changes?
I don't have anything else to suggest.
Dan O.