docs: how to use specific version of the component

This commit is contained in:
GrKoR
2024-04-04 17:24:38 +03:00
parent 453f697c48
commit 8228ee0777
2 changed files with 16 additions and 0 deletions

View File

@@ -46,6 +46,14 @@ external_components:
type: git
url: https://github.com/GrKoR/esphome_aux_ac_component
```
In case you need a specific version of the component, you can use the component declaration from the example below. The example uses version 0.2.14 of the component. You can find a list of available versions [on the GitHub tags page](https://github.com/GrKoR/esphome_aux_ac_component/tags).
```yaml
external_components:
- source:
type: git
url: https://github.com/GrKoR/esphome_aux_ac_component
ref: v.0.2.14
```
2. Configure UART to communicate with air conditioner:
```yaml
uart:

View File

@@ -54,6 +54,14 @@ external_components:
type: git
url: https://github.com/GrKoR/esphome_aux_ac_component
```
Если требуется прошить определенную версию компонента, используйте синтаксис из примера ниже. Здесь прошивается версия 0.2.14. Список версий смотрите [в тегах на гитхаб](https://github.com/GrKoR/esphome_aux_ac_component/tags).
```yaml
external_components:
- source:
type: git
url: https://github.com/GrKoR/esphome_aux_ac_component
ref: v.0.2.14
```
2. Настройте UART для коммуникации с вашим кондиционером:
```yaml
uart: