Thanks for the reply.
Just to clarify, there are three wires connected in the old thermostat that I want to replace: a red, a blue and a yellow one with a red jacket on it, as well as an earth. On the thermostat + timeswitch that I've bought, there are 5 wire sockets, labelled L, N, 1, 2 and...