European Commission chief Ursula von der Leyen was treated in hospital for around a week for "severe" pneumonia, her office said Friday, adding she was "now working from home".