A housing for an inhalation device and an inhalation device. The inhalation device includes a container unit having a medium container and an outlet stub. The outlet stub is displaceable relative to the medium container for a delivery operation. The housing includes a main housing having a first end forming a mouthpiece, a second end angled in an L-shaped manner with respect to the first end and forming an air inlet, and an attachment piece. The attachment piece has a duct with an attachment opening receiving the outlet stub of the container unit, a nozzle opening, and a pressure chamber arranged between the attachment opening and the nozzle opening. The housing also includes a sensing device for recording a delivery operation, and a diaphragm reversibly deformable depending on a pressure in the pressure chamber. The diaphragm cooperates with the sensing device for the actuation thereof.