Actually, that is an area where electric vehicles shine. Unlike gasoline cars that have to idle the engine, electric cars use no energy when stopped (except for accessories).
Uhhh gas cars can do that to...
Hell I can do it with a car from the 1950s.. it’s not automatic. but you can simply switch the key off ;)
And those accessories draw electricity. And what about the more typical traffic jam when rather than literally sitting still for an hour, the traffic crawls at 5 mph?
Heating and AC are energy-intensive systems. I would not trust a battery more than an alternator to run an AC compressor, and heating a car’s interior from its engine is a relatively efficient way to reuse its heat energy.