The object of the invention is an electrical device comprising:a housing comprising a cavity receiving an electronic component, andat least one first electrical conductor connected to the electronic component so as to supply it with electric power,said electrical device being characterised in that it comprises a first electrically insulating film being against a surface of the first conductor so as to electrically insulate it, said first insulating film having at least one holding member enabling the first insulating film to be attached to a mechanical element, in particular of the electrical device.