Profit warning puts a big dent in smoke detector group's valuation