We have two Teslas, solar and Tesla Powerwalls (batteries).
The Teslas are not set up to feed power to the house. Some EVs can be set up to do that (Ford Lightning for example).
As others have mentioned, there is a setting in our Tesla to only charge off solar. We are both home most days, so...