Setting up the local workspace for the integration¶
Cloning and forking the repo¶
- Start off by going to the HASS.Agent Integration repo and creating your own fork.
- Clone the files to a directory on your computer
- Copy the
custom_components
directory - Open your dev container files
- Paste the
custom_components
directory into theconfig
directory - Start the dev container
Finishing up¶
You can verify this has worked by going to the integrations page and looking for HASS.Agent Integration
Reference¶
Dev Container¶
Open the container to view files¶
If you open up the vscode project with your dev HA you will automatically be opened to the dev container's files.
Start HA¶
To start HA in VSCode you can use Ctrl+Shift+P, and then search for run task
and then search for run home assistant core
. This will startup the container on the port(default is 8123)