def get_maintenance_status(code):
    """Get maintenance status from code."""
    maintenance_status = {0: "No maintenance", 1: "In progress"}

    if code in maintenance_status:
        return maintenance_status[code] + " (" + str(code) + ")"

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