diff --git a/README-EN.md b/README-EN.md index 51fa872..b8177f5 100644 --- a/README-EN.md +++ b/README-EN.md @@ -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: diff --git a/README.md b/README.md index 267be8f..dfa322a 100644 --- a/README.md +++ b/README.md @@ -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: