Renault Kangoo 1.9D 2001/Y reg - Running issues sorted but is it a safe fix? - stuartl

After seeing the idea on another forum I disconnected what I believe is the Warm Air Sensor (located just above the EGR) and my really rough running has been solved instantly. Does this mean the sensor or the wiring to it it caput or can I just leave the plug disconnected without causing any harm?

Thanks, Stuart