Some clarification
Finally got it in. Does this look familiar?
Replaced my fuel temp sensor tonight (2006 Jetta). It was as easy as the other posts here say, but here's some clarifications:
1. Elsewhere in this post is says to unclip the sensor. In the above picture, that means pull the green clip out. The sensor is the piece with the wiring harness. Discard the base, no need to install it in the car -- all it does is provide a path for fuel to contact the sensor.
2. Unclip the defective sensor and discard it. Key point #1: don't remove the base already attached to the car, just the defective sensor. Key point #2: put some rags underneath the defective sensor before removing it to catch a small amount of diesel that'll leak out.
3. Optionally take the O-ring from the new base and replace the O-ring from the old base. Regardless, make sure there's exactly one O-ring in the base connected to the car or I'm guessing you'll have a diesel leak...
4. At least in my car the wiring harness itself can use some stress relief but there's not enough slack in the wire to make that happen. I'm not happy, but I suppose if it's lasted this long it'll last longer.
5. I cleared the CEL manually, it didn't immediately go out when I started the car after replacing the sensor. About a dozen start/stop engine cycles later (and enough driving in between to ensure normal engine operating temperature) the CEL hasn't reoccurred.