Hi Guys.
Also shared this on X and pinged Dave, but I think here it will be more effective.
Could not find my old account, so here we go with a new one

Friend had his WOLF heater control PCB fried by a technician who (I suppose) connected the mains on wrong pins after maintenance or shorted them out to a non-AC-pin. So the magic smoke escaped...
I need to order parts and I assume as per the picture the diode of the clamping circuit was fried. The switching IC of the AC/DC converter is a Power Integrations TNY279PN (output 12V, 12W max). According to their datasheet a 1N4007 should be fine, but the circuit on the heater PCB is not exactly according to the datasheet and they have used a slightly different one it seems.
According to power integrations datasheet it should be the red circled diode that is broken, the resistor above it going to the top should be a 1kOhm, which according to the rings fits with the picture of the WOLF heater PCB.
Any thoughts? You think a 1N4007 is fine or can someone identify the original Diode? Maybe there is even a schematic of this board somewhere?
EDIT: Also would like to know the value of the resistor right next to the Diode. It seems to be an 18 Ohm when I get the rings correct, but that seems weird to me. Any input on this?