From 01f11dfec2326167ba240af56d1812ab036d8d7d Mon Sep 17 00:00:00 2001 From: lsellens Date: Sun, 7 Jul 2024 11:41:43 -0500 Subject: [PATCH] merge changes from #4642 --- esphome/components/remote_receiver/remote_receiver_rp2040.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/esphome/components/remote_receiver/remote_receiver_rp2040.cpp b/esphome/components/remote_receiver/remote_receiver_rp2040.cpp index 2f15890fbd..0d4d8cde52 100644 --- a/esphome/components/remote_receiver/remote_receiver_rp2040.cpp +++ b/esphome/components/remote_receiver/remote_receiver_rp2040.cpp @@ -64,7 +64,8 @@ void RemoteReceiverComponent::dump_config() { "invert the signal using 'inverted: True' in the pin schema!"); } ESP_LOGCONFIG(TAG, " Buffer Size: %u", this->buffer_size_); - ESP_LOGCONFIG(TAG, " Tolerance: %u%%", this->tolerance_); + ESP_LOGCONFIG(TAG, " Tolerance: %u%s", this->tolerance_, + (this->tolerance_mode_ == remote_base::TOLERANCE_MODE_TIME) ? " us" : "%"); ESP_LOGCONFIG(TAG, " Filter out pulses shorter than: %u us", this->filter_us_); ESP_LOGCONFIG(TAG, " Signal is done after %u us of no changes", this->idle_us_); }