Vehicle-to-grid unit