You need a V2G or V2H charger, also often called a two way charger, V2G is Vehicle to Grid and V2H is Vehicle to Home. From what I can tell most chargers you can buy now are one way, you can use them to charger the car and that is it. The newer chargers can be two way and a bit more like a Solar panel invertor that takes DC power from the solar array and converts to 240V AC to use in the house and export to the grid.
Other new features I have seen on chargers is the ability to only charge the car with excess solar power
My solar system is quite old and small at 1.5KW but on a good 20 year contract from 2010. It goes straight to the grid at 45.7cents and we pay 22cents for power used from the grid. So really while we have that contract it only makes sense to charge the car from the grid. But once the Solar contract is finished assuming the contracts stay the same as now it would make sense to put on a much bigger system. Contract now seem to be about 6cents Feed in tariff for excess power in and being charged 22cents for any extra power used so you want to use as much solar as you can rather than getting paid only 6 cents for it.
Once I am out of contract it would make sense to throw way the old system and put on a new 13KW solar system (and take about the same roof space) with a 13KWH standard battery and a smart two way charger to only charge the car on solar unless overriden becaus ei want a full battery asap. Then allow the house to use power from the 13KW battery followed by the car if necessary. Cost a lot to setup but would mean minimal power bills from then on.
What I am thinking is the Mitsubishi comes with a 10 year warranty, plus a good service plan for 10 years. Assuming we get it in two years then the car will be 6 years old when our solar system contract finishes. I could sell the car for a decent price with 4 years warranty left and upgrade the car and house at that time with whatever is the most sensible option at that time. For now as it makes sense to only charge from the grid I would not buy any car charger at all, just use the standard 240V charger from a standard power point already in the garage. Hopefully by 2030 it will be more obvious what the future of cars is and solar systems will have improved even more than they have.