It's the flow switches, there's two, a heating one and a h/water one,
It's probably the heating one thats at fault but change them both to be on the safe side. Heating one has a spring on it that has to be reused, hot water one does not have a spring.