Multiple sensor for use on branch lines for automatic fire detection in buildings. The sensor detects the fire parameter smoke, has automatic contamination compensation and automatically adapts to the ambient conditions thanks to intelligent CUBUS leveling.