The device has a housing (16) within which at least one working component is arranged and at least one elastically deformable wall section (26) that interacts with a deformation sensor (34). The elastically deformable wall section is thinner than non deformable sections and the housing is made of an elastic material.