Been looking through this but I don’t understand, do I have to create a file somewhere, or is this supposed to go into the yaml file uploaded to the ESP32?
However the yaml file is not uploaded to the ESP32. The yaml file is the input for the code-generation of a C++ file. This C++ file is compiled and linked with the other C++ components. This results in a binary file which is uploaded to the ESP32. And this all happens if you hit the “Update” or “Install” button in the ESPHome dashboard.
During the code-generation phase, the external component is automatically downloaded to a build directory on your HA-device or local PC depending on the way you use ESPHome.