hi did you buy one of those new idle valves on e-bay for about £55 ?
sadly they do have problems too i had to sent one back as it was doing what you've
described reving up and down

send it back and ask for another you may get a better one

otherwise try a 2nd hand bosch one or a new one from gsf ( about £210 )

you could check the rubber hose at the bottom of the valve for leaks as this too will affect the tick
over .... good luck