1.9 KiB
Devcontainer
The easiest way to contribute to and/or test this repository.
Requirements
More info about requirements and devcontainer in general
How to use Devcontainer for development/test
- 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.
Custom Tasks in this repository
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.
Start Home Assistant on port 8124
This will copy the configuration and the integration files to the expected location in the container.
And start up Home Assistant on port 8124.
Upgrade Home Assistant to latest dev
This will upgrade Home Assistant to the latest dev version.
Set Home Assistant Version
This allows you to specify a version of Home Assistant to install inside the devcontainer.
Home Assistant Config Check
This runs a config check to make sure your config is valid.