From ba0508b7f5ffc0b2e809f9ef09ae43ed890e3e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Koek?= Date: Fri, 11 Oct 2024 11:18:13 +0100 Subject: [PATCH] some small changes --- esphome/components/ebyte_lora/ebyte_lora_component.cpp | 2 +- esphome/components/ebyte_lora/ebyte_lora_component.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/ebyte_lora/ebyte_lora_component.cpp b/esphome/components/ebyte_lora/ebyte_lora_component.cpp index c18c704be9..6afb9f606d 100644 --- a/esphome/components/ebyte_lora/ebyte_lora_component.cpp +++ b/esphome/components/ebyte_lora/ebyte_lora_component.cpp @@ -448,7 +448,7 @@ void EbyteLoraComponent::process_(std::vector data) { #ifdef USE_BINARY_SENSOR auto &binary_sensors = this->remote_binary_sensors_[network_id_]; #endif - ESP_LOGD(TAG, "GOT new data to process"); + uint8_t first_byte = data[0]; bool unknown_key = true; // rssi is always the last one, except for when it is a program conf diff --git a/esphome/components/ebyte_lora/ebyte_lora_component.h b/esphome/components/ebyte_lora/ebyte_lora_component.h index 597105a7cf..d1a50ab22a 100644 --- a/esphome/components/ebyte_lora/ebyte_lora_component.h +++ b/esphome/components/ebyte_lora/ebyte_lora_component.h @@ -122,7 +122,7 @@ class EbyteLoraComponent : public PollingComponent, public uart::UARTDevice { // if set it will function as a repeater only bool repeater_enabled_ = false; // used to tell one lora device apart from another - int network_id_ = 0; + uint8_t network_id_ = 0; int rssi_ = 0; RegisterConfig current_config_{}; RegisterConfig expected_config_{};