Air Filter
That's a sensor for the air intake temperature.
Thats odd that cleaning the temp sensor worked! Must have been really grimy.