How to close opened door

I’ve created a script to open/close door (door on hinges, not sliding door) using this tutorial.

Door opens on event OnTriggerEnter and closing on event OnTriggerExit.
But I have situation, when my player stay inside trigger (door is open) and then he teleports to another location (door still open). And then on event OnTriggerEnter door closes in front of him, but it should be opened.

How can I close the door after teleporting?

Vector3 defaultRot;
Vector3 openRot;

float smooth = 2.0f;
float DoorOpenAngle = 90.0f;
bool open;
bool enter;

void Start() {
	defaultRot = transform.eulerAngles;
	openRot = new Vector3 (defaultRot.x, defaultRot.y, defaultRot.z + DoorOpenAngle);
}

void Update () {
	if(open)
		transform.eulerAngles = Vector3.Slerp(transform.eulerAngles, openRot, Time.deltaTime * smooth);
	else
		transform.eulerAngles = Vector3.Slerp(transform.eulerAngles, defaultRot, Time.deltaTime * smooth);
}

void OnTriggerEnter (Collider other) {
	if (other.gameObject.tag == "Player")	
		open = !open;
}

void OnTriggerExit (Collider other) {
	if (other.gameObject.tag == "Player")
		open = !open;
}

I Answered this one the other day, uses animations to Open and Close but tested it and it works.

OpenCloseDoor

Only takes a few minutes to set up as well.