It does neither get hot water nor heating. It seems that the primary high voltage powercircuit does not supply power to the transformer to get the 24V for the gas valve.
If high voltage power is supplied to the transformer the 24 circuit works correctly.