From 8228ee0777464542e75d0643fe5359277e91d754 Mon Sep 17 00:00:00 2001 From: GrKoR Date: Thu, 4 Apr 2024 17:24:38 +0300 Subject: [PATCH] docs: how to use specific version of the component --- README-EN.md | 8 ++++++++ README.md | 8 ++++++++ 2 files changed, 16 insertions(+) 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: