Yes, but that's not the point. Germany never used electricity to heat, we always used gas. And we always got a significant amount of that gas from the USSR and then Russia. So the German ramp-down of nuclear power has nothing to do with the current energy, including heat and electricity, situation.
And saying half of the Ukrainian blood is on Germany's hand is such a strong argument that some explanation, besides personal feelings, would be helpfull. Besides, I call those things out every time I see them, be that Gorbatchev and Afghanistan, the US and Iraq, France and Algeria...
Germany chose to use Russian gas for heating. You are the richest country in Europe, you could have been on heat pumps long ago. You instead decided to keep using gas, to give more money to Putin.
We decided to continue to use reliable and cheap supplier of gas for heating and industrial purposes, mostly chemicals if memory serves well. Sure, we could have moved to heat pumps faster. Believe me so, even for a consumer gas was just much cheaper than PV powered heat pumps. If heating goes renewable much faster it is a very good thing actually. Saying it was a mistake to not do so because of the war in Ukraine is hindsight. It was a mistake when it comes to climate change, one among a lot of mistakes and by no means the biggest ones. When it comes to climate change the botched Energiewende, closure of nuclear plants and increased coal plant capacity have much more impact.