From 4c9833632bcdd9c46c496c5e24618b55f0b3dd80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Koek?= Date: Thu, 28 Mar 2024 18:26:41 +0000 Subject: [PATCH] Update ebyte_lora.cpp --- esphome/components/ebyte_lora/ebyte_lora.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/ebyte_lora/ebyte_lora.cpp b/esphome/components/ebyte_lora/ebyte_lora.cpp index 5d691841cd..1d933ab933 100644 --- a/esphome/components/ebyte_lora/ebyte_lora.cpp +++ b/esphome/components/ebyte_lora/ebyte_lora.cpp @@ -178,6 +178,7 @@ void EbyteLoraComponent::loop() { } } } + this->rssi_sensor_->publish_state((data[data.size() - 1] / 255.0) * 100); ESP_LOGD(TAG, "RSSI: %u % ", (data[data.size() - 1] / 255.0) * 100); } }