Added alarm raised flag to temperature alarm