Problem with ESP python and Dia proyects

Hi all,

I’m new in the Digi world and I recently bought an X4 Started kit, an AIO and a DIO.

I also started to work with the ESP and I could run the examples without mayor problems.

The question is, when I want to do my own proyect, I have two options, one is to do a Dia Proyect and the other one is to do a Python Proyect. When I choose to do a Dia proyect, I can import the device’s configurations through the YML file but I can not find the way of adding python’s logic to the proyect.
On the other hand, when I choose to create a Python proyect I can write the whole logic but, I can not import the configurations of the devices since there is no YML file…

Can anyone please help me to do that?

Best Regards.