The invention relates to an electrical device with an electronic circuit arranged at least partially on a printed circuit board (3). The circuit has power components (4) each time with an arrangement forming a heat sink. A housing frame (1) is provided for the electronic circuit, which frame has a plurality of bars (6, 7) each connected to its respective housing frame wall but offset. The heat-conveying housing parts of the power components (4) are held in thermal contact on said bars and the housing frame (1) can be joined to a heat-eliminating housing bottom (2) and maintained in thermal contact with the latter.