This feature is already available. Investigate through the Tesla forums. I do not remember how I did it but I have a different location for opening and closing associated with a single HomeLink entry. If I remember correctly after I set the two different locations I thought to myself - Hey this is pretty straightforward and logical. Again, just look into it because this feature already exists.