Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Latest commit

 

History

History
53 lines (30 loc) · 1.95 KB

README.md

File metadata and controls

53 lines (30 loc) · 1.95 KB

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

  1. Make sure your computer meets the requirements.
  2. Fork this repository.
  3. Clone the repository to your computer.
  4. 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.

reopen

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.