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_{};