Hi All,
I have been wondering around here for a few days now trying to find the anwser to be question, but have not had any luck. Might just be because I don't know the right name for thing.

Not got a Haynes book yet but XMas is only weeks away.

I have been having some problems with idling, stalling at the lights and very low revs at cold. I have cleaned the oil breather pipe, it was very very clogged up. I have also cleaned the throttle butterfly valve, I've also got some Carb Cleaner to give it more of a clean.
Upon doing this I found a connector that wasn't connected, so I connected it.

Upon starting the car the revs sat at 2000 when idling, if I disconnected with the engine running the revs dropped to the normal 600ish. Connect it again and after a few seconds the revs go back up to 2000.
I have circled the connector in the below pic:

(Note I removed the cover of the back when working out what it was. The cover it normally on!)
What is telling the ECU to tell this to up the revs?
Thanks for any help,
Canters.