I hope you find an answer also for my info. I am trying to tweak/support/add things but find the devs rather unreachable and secluded. I donot want to make this sound as negative but for starters (like me) in this area it is hard to get through to the how-to’s. Tthere is little documentation around flow/process/etc. and very few people have time/interest in guiding (I do !! understand that). Possibly related to open-source approach?
When I developped my integration, I found it easiest to place it in core\homeassistant\components\duepi_evo (so not as a custom integration…)
Since I am working from my own devs core repository, i simply can push directly to it, however, I never create a push requests HA directly, instead I copy to my git custom integration folder and push there.
Since this custom repository is linked to HACS, it will be available shorty after in HA for everyone that uses it…
But yeah, I agree, I still have to copy. As long as my integration is not part of HA’s repository, I don’t think there is another solution…
For me working through HACS works fine…
I have a working Dev container: Home assistant Dev
localy in
c:\user\thier\Hassio-dev\core...
I cloned my component [Home-Assistant-custom-components-SmartThings-Soundbar]Home-Assistant-custom-components-SmartThings-Soundbar)in the same path
so I have
Sorry to necro as my first post in the community.
I ran across this post when I was dealing with the same issue, and none of the solutions really felt good to me, but I think I found the solution, so I’m sharing it here.
I followed the same instructions to set up your workflow that we read - but the extra step that I took was to use git submodules to add my custom component as a repo within the core repo.
in the core .gitignore file I added !/config/custom_components/your-custom-component
and then in /config/custom_components I did a git submodule add -f https://github.com/YourName/your-custom-component
Now, a bit of caution: I’ve never had to use submodules before, and I’ve never developed a HA component before, and I’ve only recently just discovered this option, so there may be some kind of interaction here that I’m not aware of. but so far its looking good in VSCode - I see both changes to each repo separated in the sourcecontrol tab.