Arrangement of devices for treating smoke or fumes