From detection to action: Smart sensors in fire prevention and emergency response