People who know they don’t need their full battery charge except for rare, long trips can sell it back to the grid.
I remember seeing Elon Musk say that our Model 3 was rated for 1500 recharge cycles. Our warranty is for 70% capacity after 8 years or 120k miles. That hints to me that cycling is the main cause of degradation.
Whether this is all true for Tesla's batteries I don't know. But I would assume that they do count a partial charge as a partial cycle and you shouldn't be penalized for intermittent charging.
I'd certainly try to stay above 30 percent charge as much as possible. And use slow charging, because that's less wear too. So plugging it in every night at home should be less wear than the eventual quick charge from low. Even if the warranty doesn't distinguish these nuances, it's probably easier to manage regular home charging with better results too.
[1] https://electrek.co/2023/04/25/tesla-update-battery-degradat...
Unfortunately not all of them do that. Austin Energy for example charges you the normal rate for all electricity you use even if you generate it with your own solar, and then monitors how much you generated and pays for that at a lower rate in the form of credits. So if you generate enough extra power you can end up with a $0 bill and reduce your next bill. But if you generate more than you use every month you'll never get any monetary return, and of course the rates can vary.
How many equivalent miles would be put on the car by draining the battery to the grid?