I have pretty much the same scene for coming home as you do. I may have gone about it in a very round about way, but i did so to avoid the issue you mentioned.
equipment used - vera lite, hue lights, harmony home hub,door sensor, xbmc, pc with vc.
vera things used to accomplish this. pleg, a couple of timers, virtual switch and scenes
There may be a better way to do this, but this works for me.
When I leave, Vc reads me the current weather, runs a vera scene. In the scene is a 10 minute timer that arms a pleg device that states "if armed and the front door opens turn virtual switch to on".
(timer is set to 10 minutes in case i have to come back home real quick. Plus without it, by the time I gave the leaving command and made it to the front door, it would be armed so the I'm home scene would run)
So what happens when i get home, as soon as I open the door, the virtual switch triggers vera and Vc to run through my commands.
It disarms pleg, my hue lights turns on, I am greeted by Lemon(vc) and she tells me the temps in the living room, media room, turns on the tv/stereo/xbmc to party mode. After a 3 second timer the virtual switch is turned off.
I hope that made some sense.