Details depend on the exact position. I have worked in an engineering-oriented institute for applied research on energy systems. From my experience, physics graduates are well-suited for most tasks. The exceptions are very specialized topics like circuit design, which isn't a standard skill for engineers, either. Also, for programming-oriented or technical tasks, the physicists had a very good reputation (note the subtle difference between "are suited" and "are considered suited by the hiring managers"). In the politics/economics groups, physicists seem to be less well regarded.
Basic programming skills are a must for any engineer or physicist, in my opinion. So knowing Python is good. Many positions can require very specific programming knowledge, but well ... they will tell you in the job description. Generally, a job in the smart grids field does not prepare you for a job in data analytics. If that is what you ultimately want to do, apply there now and skip the counterproductive detour over engineering.