I'm still amazed that on the same forum that whenever anyone mentions gas the stock answer is we won't help because it'd be illegal and dangerous for someone not competent to do the task, I think I'm the only one that has ever mentioned electrical work being a similar matter.
Although, yes, big deal, he's replacing a thermostat, surely electricity, like gas, can be a matter of safety and legality as well?
It is worth noting, however, that since 2013, in England, control wiring for central heating is no longer considered as notifiable work, and so can be legally carried out by amateurs without the need for professional testing (in Wales, central heating control wiring remains notifiable). This does not mean that it need not be tested. Whether notifiable work, as defined in the building regulations, or not, electrical work must be tested to BS7671, which few amateurs will be able to do, through lack of equipment if nothing else.