The easiest way to contribute to and/or test this repository.
More info about requirements and devcontainer in general
- Make sure your computer meets the requirements.
- Fork this repository.
- Clone the repository to your computer.
- Open the repository using VS Code.
When you open this repository with VSCode and your computer meets the requirements you are asked to "Reopen in Container", do that.
If you don't see this notification, open the command pallet (ctrl+shift+p) and select Remote-Containers: Reopen Folder in Container
.
It will now build the devcontainer.
The container have some "tasks" to help you testing your changes.
Start "tasks" by opening the the command pallet (ctrl+shift+p) and select Tasks: Run Task
Running tasks like Start Home Assistant on port 8124
can be restarted by opening the the command pallet (ctrl+shift+p) and select Tasks: Restart Running Task
, then select the task you want to restart.
This will copy the configuration and the integration files to the expected location in the container.
And start up Home Assistant on port 8124.
This will upgrade Home Assistant to the latest dev version.
This allows you to specify a version of Home Assistant to install inside the devcontainer.
This runs a config check to make sure your config is valid.