Until it breaks. Or runs out of fuel. Or drones endlessly. Not to mention the expense of fuel if one does need to use it. Or deal with fuel additives and fuel deposits.
A PowerWall can have a function when the grid is operating. I would not choose to be on generator unless it was for testing.
The generator comparison was for a emergency use reference not for running a household. The downsides of a generator are obvious but more of a red herring in this thread.
In an emergency, at least in my case, my natural gas hookup will be the first choice and probably will not run out. If it does I have LP and of course gasoline. My new Sonny boy inverter also has 2000 W available while the sun is shining.
I have lived in this house for 21 years and used my generator two or three times, they were for short periods and for the most part just to see if it really worked. Even with today's lower prices, the cost over the last 21 years to purchase and maintain a battery system would be huge for a few hours of use compared to a generator.
For nonemergency use (at least in California) a battery system makes no sense with net metering. When that changes, I will be one of the first to invest.
As mentioned several times up thread, there are other reasons to consider batteries besides return of investment. I would love to have a battery system but in my situation it would be pure luxury and a psychological boost but it would have to come at a much lower cost.
There are few folks that would spend that kind of money just because. That is why for the near-term, residential battery sales will be lackluster.
Now if Tesla would sell an adapter\software that would allow V2H, as mentioned by bonaire allowing the battery I already own in the car to run the house in an emergency, bingo! But, even with this
"free 90 kw battery", my energy use and power bill would not change and I would not chose to have the car battery pack also running the house (but I would have a nice emergency backup that is even better than my generator).