def get_trigger_severity(code):
    """Get trigger severity from code."""
    trigger_severity = {0: "Not classified", 1: "Information", 2: "Warning", 3: "Average", 4: "High", 5: "Disaster"}

    if code in trigger_severity:
        return trigger_severity[code]

    return "Unknown ({})".format(str(code))