Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query - How to build locally #115

Open
netmindz opened this issue Sep 24, 2023 · 1 comment
Open

Query - How to build locally #115

netmindz opened this issue Sep 24, 2023 · 1 comment

Comments

@netmindz
Copy link

I'm trying to write my own custom component following your example.

Do you have a platformio.ini file that can be used to compile the code locally so I don't need to keep pushing commits to git to then try and run the build of the full image in ESPHome?

@echavet
Copy link

echavet commented Jan 24, 2024

old message but actually if you want to do that you just have to get the sources from rep in a local directory and use:

external_components:
 - source:
     type: local
     path: components

in place of

external_components:
 - source: github://...


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants