From 33da3d2e92de371b45675f7c3546fdf0503136e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Koek?= Date: Fri, 11 Oct 2024 11:32:20 +0100 Subject: [PATCH] Update ebyte_lora_component.cpp --- esphome/components/ebyte_lora/ebyte_lora_component.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/esphome/components/ebyte_lora/ebyte_lora_component.cpp b/esphome/components/ebyte_lora/ebyte_lora_component.cpp index f9d6e5cad8..c9c9bb18e4 100644 --- a/esphome/components/ebyte_lora/ebyte_lora_component.cpp +++ b/esphome/components/ebyte_lora/ebyte_lora_component.cpp @@ -434,9 +434,12 @@ void EbyteLoraComponent::loop() { } this->process_(data); } - - if (this->request_repeater_info_update_needed_) + if (!this->can_send_message_("Loop to see if send or repeater request")) + return; + if (this->request_repeater_info_update_needed_) { this->request_repeater_info_(); + return; + } if (this->need_send_info) { this->send_data_(true); }