How to develop custom component?

I have already fork ha core in visual studio code.
I want to create a custom component. I understand that I have to create or fork a repository.
My question is how to integrate this repository in dev environment ?

Creating your first integration | Home Assistant Developer Docs is likely where you want to start

1 Like

I saw that, but if I understood correctly this integration will be in the dev environment. How can I make a repository with it?

If you mean so that others can use it, there’s nothing special. You just create a GitHub repo to share your code. If you want to have it so that people can install it easily using HACS then that’s documented.

1 Like

sorry to bother you again but I can’t progress
in

Where to find the <config_dir> and the configuration.yaml
I know how to find them with file editor or with samba addons but since I don’t have a supervisor I don’t know how to install them

Have you set up your development environment yet? See Set up Development Environment | Home Assistant Developer Docs

Yes of course,
on visual studio code.
I have a working home assistant than I can acces by localhost:8123

I found “! configuration.yaml” in core (dev container… folder config
I follow doc to create this files
image

and I add hello_state: in configuration.yaml