So now you have to determine which brown core is from the Heat demand on programmer, given that the cables are marked l & ll you should have same marking at the wiring centre. Trace out this cable and join to valve brown. Be sure to remove all three cores from the thermostat cable from the wiring centre.