What percentage should be from renewables before we start switching? What if it takes 10 years to get 90% of stoves replaced? It's surely not a "wait until the grid is 100% clean" situation.
Then add in the fact that induction stoves (and I believe electric stoves) are significantly more efficient than gas. With gas stoves, a ton of the heat just goes out into the kitchen, whereas induction gets much more directly into what you're cooking.
There's also the climate impact of unburned gas leaking into the atmosphere, though I don't know how significant this is. Ideally, we want to get to a place where we don't have to build gas transmission infrastructure to every building. This will take ages, so if it's important, we should start now, not after everything else is in place at the generation side of things.
Outside of climate concerns, there are also some significant negative health effects of gas stoves. e.g., much higher rates of asthma in households with gas stoves[0]
I have a strong preference for cooking with gas, mostly due to familiarity, but there are major downsides to the technology.
[0] https://slate.com/technology/2020/12/gas-stoves-hazardous-as...