Electrical device, in particular a control device, - having an insert (50, 95, 105, 115), a current-transfer component (60, 100, 110, 120) and a housing with a housing wall with an inner wall and with an outer wall, which is arranged spaced apart from the inner wall in relation to the axis (x), - wherein the insert (50, 95, 105, 115) has a first wall, a second wall, which is arranged offset in a manner spaced apart from the first wall along an axis (x), and a first chamber, - wherein the first wall has a first passage opening and the second wall has a second passage opening, - wherein the first passage opening and the second passage opening are configured to be aligned in relation to the axis (x), - wherein the first wall is configured to abut against a current-transfer component (60, 100, 110, 120) of the electrical device at the first passage opening, and the second wall is configured to abut against said current-transfer component at the second passage opening, - wherein the first chamber is arranged between the first wall and the second wall, - wherein the first passage opening and the second passage opening open out into the first chamber, - wherein the outer wall has a third passage opening, and the inner wall has a fourth passage opening, into which the insert (50, 95, 105, 115) engages, - wherein the inner wall and outer wall delimit a housing chamber, - wherein the current-transfer component (60, 100, 110, 120) passes through at least the first and second passage openings (150, 215) and is embedded in the potting compound between the first wall and the second wall, characterized in that, - the housing chamber and the first chamber open out into one another, - wherein the first chamber and the housing chamber are filled with a potting compound. - having an insert (50, 95, 105, 115), a current-transfer component (60, 100, 110, 120) and a housing with a housing wall with an inner wall and with an outer wall, which is arranged spaced apart from the inner wall in relation to the axis (x), - wherein the insert (50, 95, 105, 115) has a first wall, a second wall, which is arranged offset in a manner spaced apart from the first wall along an axis (x), and a first chamber, - wherein the first wall has a first passage opening and the second wall has a second passage opening, - wherein the first passage opening and the second passage opening are configured to be aligned in relation to the axis (x), - wherein the first wall is configured to abut against a current-transfer component (60, 100, 110, 120) of the electrical device at the first passage opening, and the second wall is configured to abut against said current-transfer component at the second passage opening, - wherein the first chamber is arranged between the first wall and the second wall, - wherein the first passage opening and the second passage opening open out into the first chamber, - wherein the outer wall has a third passage opening, and the inner wall has a fourth passage opening, into which the insert (50, 95, 105, 115) engages, - wherein the inner wall and outer wall delimit a housing chamber, - wherein the current-transfer component (60, 100, 110, 120) passes through at least the first and second passage openings (150, 215) and is embedded in the potting compound between the first wall and the second wall, characterized in that, - the housing chamber and the first chamber open out into one another, - wherein the first chamber and the housing chamber are filled with a potting compound.