I have a digital heating programmer that is linked to a room thermostat, then to an electric boiler. The power comes into the programmer, then that feeds the thermostat, which then feeds to the boiler. The pum on the boiler is not switching over, so I was wanting to know how the programmer and thermostat should be wired including the three cores from the thermostat to the boiler.