From 30168c6164f3bfc2541c61a1ed6282a85fc7ff5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Koek?= Date: Tue, 2 Apr 2024 16:36:48 +0100 Subject: [PATCH] Update config.h --- esphome/components/ebyte_lora/config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/esphome/components/ebyte_lora/config.h b/esphome/components/ebyte_lora/config.h index 58d6a9097a..2cba96f16a 100644 --- a/esphome/components/ebyte_lora/config.h +++ b/esphome/components/ebyte_lora/config.h @@ -219,14 +219,14 @@ struct RegisterConfig { uint8_t starting_address = 0; uint8_t length = 0; uint8_t addh = 0; - std::string addh_description_() { return "addh:" + this->addh; } + std::string addh_description_() { return "addh:" + to_string(this->addh); } uint8_t addl = 0; - std::string addl_description_() { return "addl:" + this->addh; } + std::string addl_description_() { return "addl:" + to_string(this->addh); } struct REG0 reg_0; struct REG1 reg_1; // reg2 uint8_t channel; - std::string channel_description_() { return "channel:" + this->channel; } + std::string channel_description_() { return "channel: " + to_string(this->channel); } struct REG3 reg_3; uint8_t crypt_h; uint8_t crypt_l;