Etching of heating element