Hazard detection unit