Peter,
At least the one of the two ends looks like factory, the one with the eye. Can't see that clearly on your picture, is the wire brown? If so, it is for ground.
What is the wire color of the other one? Uni or does it have colored stripes?
Also,
I cannot see, is your CSV (cold star valve) hooked up?
Also,
have you checked whether there is one of the wires with permanent voltage? Maybe the one with luster terminal?
Good luck & keep us updated
Achim
(coloredwiringharnessdrawer)