how automatic tents work