From 0c3270d35247542b299cee547b37edfc55bdbbb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Koek?= Date: Tue, 26 Mar 2024 17:57:19 +0000 Subject: [PATCH] Update lora.cpp --- esphome/components/lora/lora.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/esphome/components/lora/lora.cpp b/esphome/components/lora/lora.cpp index 5203087acf..57a9a08a91 100644 --- a/esphome/components/lora/lora.cpp +++ b/esphome/components/lora/lora.cpp @@ -161,6 +161,8 @@ void Lora::loop() { ESP_LOGD(TAG, "PIN: %u ", data[1]); ESP_LOGD(TAG, "VALUE: %u ", data[2]); ESP_LOGD(TAG, "RSSI: %u ", data[3]); + rssi_ = (char) data[3]; + this->update_needed_ = true; } else { ESP_LOGD(TAG, "WEIRD"); }