To answer my own question, actually Bjorn has this topic covered:
Bjørns Tesla Model S #7: Sleeping in The Car - YouTube
What he does in order to prevent the HVAC from shutting down after 30 minutes, is to put the car in N gear instead of Park, then engage the Parking break manually.