Fixed typos (#34)
This commit is contained in:
parent
891cd4c4e0
commit
871f00ebdc
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
The easiest way to get started with custom integration development is to use Visual Studio Code with devcontainers. This approach will create a preconfigured development environment with all the tools you need.
|
The easiest way to get started with custom integration development is to use Visual Studio Code with devcontainers. This approach will create a preconfigured development environment with all the tools you need.
|
||||||
|
|
||||||
In the container you will have a dedicated Home Assistant core instance running with your custom compnent code. You can configure this instance by updating the `./devcontainer/configuration.yaml` file.
|
In the container you will have a dedicated Home Assistant core instance running with your custom component code. You can configure this instance by updating the `./devcontainer/configuration.yaml` file.
|
||||||
|
|
||||||
**Prerequisites**
|
**Prerequisites**
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ _If you don't see this notification, open the command palette and select `Remote
|
|||||||
|
|
||||||
### Tasks
|
### Tasks
|
||||||
|
|
||||||
The devcontainter comes with some useful tasks to help you with development, you can start these tasks by opening the command palette and select `Tasks: Run Task` then select the task you want to run.
|
The devcontainer comes with some useful tasks to help you with development, you can start these tasks by opening the command palette and select `Tasks: Run Task` then select the task you want to run.
|
||||||
|
|
||||||
When a task is currently running (like `Run Home Assistant on port 9123` for the docs), it can be restarted by opening the command palette and selecting `Tasks: Restart Running Task`, then select the task you want to restart.
|
When a task is currently running (like `Run Home Assistant on port 9123` for the docs), it can be restarted by opening the command palette and selecting `Tasks: Restart Running Task`, then select the task you want to restart.
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ The available tasks are:
|
|||||||
|
|
||||||
Task | Description
|
Task | Description
|
||||||
-- | --
|
-- | --
|
||||||
Run Home Assistant on port 9123 | Launch Home assistant with your custom compnent code and the configuration defined in `.devcontainer/configuration.yaml`.
|
Run Home Assistant on port 9123 | Launch Home Assistant with your custom component code and the configuration defined in `.devcontainer/configuration.yaml`.
|
||||||
Run Home Assistant configuration against /config | Check the configuration.
|
Run Home Assistant configuration against /config | Check the configuration.
|
||||||
Upgrade Home Assistant to latest dev | Upgrade the Home Assitant core version in the container to the latest version of the `dev` branch.
|
Upgrade Home Assistant to latest dev | Upgrade the Home Assistant core version in the container to the latest version of the `dev` branch.
|
||||||
Install a spesific version of Home Assistant | Install a specific version of Home Assistant core in the container.
|
Install a specific version of Home Assistant | Install a specific version of Home Assistant core in the container.
|
||||||
|
2
.vscode/tasks.json
vendored
2
.vscode/tasks.json
vendored
@ -20,7 +20,7 @@
|
|||||||
"problemMatcher": []
|
"problemMatcher": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Install a spesific version of Home Assistant",
|
"label": "Install a specific version of Home Assistant",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "container set-version",
|
"command": "container set-version",
|
||||||
"problemMatcher": []
|
"problemMatcher": []
|
||||||
|
@ -50,7 +50,7 @@ Use [black](https://github.com/ambv/black) to make sure the code follows the sty
|
|||||||
|
|
||||||
This custom component is based on [blueprint template](https://github.com/custom-components/blueprint).
|
This custom component is based on [blueprint template](https://github.com/custom-components/blueprint).
|
||||||
|
|
||||||
It comes with development environement in a container, easy to launch
|
It comes with development environment in a container, easy to launch
|
||||||
if you use Visual Studio Code. With this container you will have a stand alone
|
if you use Visual Studio Code. With this container you will have a stand alone
|
||||||
Home Assistant instance running and already configured with the included
|
Home Assistant instance running and already configured with the included
|
||||||
[`.devcontainer/configuration.yaml`](https://github.com/oncleben31/ha-pool_pump/blob/master/.devcontainer/configuration.yaml)
|
[`.devcontainer/configuration.yaml`](https://github.com/oncleben31/ha-pool_pump/blob/master/.devcontainer/configuration.yaml)
|
||||||
|
@ -44,7 +44,7 @@ File | Purpose
|
|||||||
|
|
||||||
## How?
|
## How?
|
||||||
|
|
||||||
If you want to use all the potential and features of this blueprint tempalte you
|
If you want to use all the potential and features of this blueprint template you
|
||||||
should use Visual Studio Code to develop in a container. In this container you
|
should use Visual Studio Code to develop in a container. In this container you
|
||||||
will have all the tools to ease your python development and a dedicated Home
|
will have all the tools to ease your python development and a dedicated Home
|
||||||
Assistant core instance to run your integration. See `.devcontainer/README.md` for more information.
|
Assistant core instance to run your integration. See `.devcontainer/README.md` for more information.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user