I assumed that if I start the run the “start home assistant” task in vscode in the devcontainer, the custom_components directory will be copied to the home assistant root directory but when I checked using file editor, I don’t have it.
I dont build addons (yet) i build integrations, but its important to distinguish the two. Whereas integrations run inside HA’s container addons do not. But i highly recommend you test on a spin-up server of home assistant create a ha server on a virtual pc of home assistant