From db1d4e9c03ef44d4f4f3b5d1d89c5868c88960dc Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Sun, 17 Jul 2022 21:32:16 +0200 Subject: [PATCH] Add project description and version number --- esp32-example.yaml | 5 +++++ esp8266-example.yaml | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/esp32-example.yaml b/esp32-example.yaml index bf39a6c..6770a63 100644 --- a/esp32-example.yaml +++ b/esp32-example.yaml @@ -1,11 +1,16 @@ substitutions: name: jbd-bms-uart + device_description: "Monitor and control a Xiaoxiang Battery Management System (JBD-BMS) via UART" external_components_source: github://syssi/esphome-jbd-bms@main tx_pin: GPIO16 rx_pin: GPIO17 esphome: name: ${name} + comment: ${device_description} + project: + name: "syssi.esphome-jbd-bms" + version: 1.1.0 esp32: board: wemos_d1_mini32 diff --git a/esp8266-example.yaml b/esp8266-example.yaml index 6514a82..09a4378 100644 --- a/esp8266-example.yaml +++ b/esp8266-example.yaml @@ -1,12 +1,18 @@ substitutions: name: jbd-bms-uart + device_description: "Monitor and control a Xiaoxiang Battery Management System (JBD-BMS) via UART" external_components_source: github://syssi/esphome-jbd-bms@main tx_pin: GPIO4 rx_pin: GPIO5 esphome: name: ${name} - platform: ESP8266 + comment: ${device_description} + project: + name: "syssi.esphome-jbd-bms" + version: 1.1.0 + +esp8266: board: d1_mini external_components: