The device (10) has a pressing device generating a contact force at contact point (42) of current-carrying parts. Actuators (32) in a form of memory alloy works against the contact force. The pressing device comprises one of the actuator. The pressing device is formed by a screw (30) and a spring. The screw comprises another actuator. A thrust piece (44) is arranged between the screw and a guard (40). A measuring unit measures the contact force. A heating device heats one of the actuator. A control device is connected with the measuring unit and the heating device.