From bf59739ebf61e2e36d5c03e05b249dc67685f364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Koek?= Date: Tue, 26 Mar 2024 18:14:03 +0000 Subject: [PATCH] Update lora.cpp --- esphome/components/lora/lora.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/lora/lora.cpp b/esphome/components/lora/lora.cpp index 47fd2e8135..13f179a28e 100644 --- a/esphome/components/lora/lora.cpp +++ b/esphome/components/lora/lora.cpp @@ -158,10 +158,10 @@ void Lora::loop() { } if (data.size() >= 4) { ESP_LOGD(TAG, "Total: %u ", data.size()); - ESP_LOGD(TAG, "Start bit: %u ", data[0]); + ESP_LOGD(TAG, "Start bit: %#02x ", data[0]); ESP_LOGD(TAG, "PIN: %u ", data[1]); ESP_LOGD(TAG, "VALUE: %u ", data[2]); - ESP_LOGD(TAG, "RSSI: %u ", data[3]); + ESP_LOGD(TAG, "RSSI: %#02x ", data[3]); this->rssi_sensor_->publish_state(data[3]); this->message_text_sensor_->publish_state("Got something"); } else {