Well your boiler is working in the sense that the divertor valve, microswitchs, fan, aps, pump, gas valve are all doing thier job so it is going to be a sensor issue or perhaps a faulty PCB with something on the board not connected properly or loose, a relay or something.
But the fact that...