The paper describes a method that reduces the critical current and switching power of a nanowire of small length from a superconducting state to a normal one by embedding a section of normal metal into the nanowire. This effect is due to the local heating of the superconductor due to the heat released in the normal metal. The integrated resistance was formed from the original NbN under ion-beam irradiation through the mask. The obtained values of switching powers make it possible to design multilayer logic elements without galvanic coupling for classical cryo-computers.