Germany is still entirely dependent on Russian LNG, so not sure what you're talking about there. Also, seems like you conveniently forgot that Germany imports electricity from France where most electricity production is done using nuclear power
https://www.ceicdata.com/en/germany/electricity-imports-and-exports/electricity-imports-france