From 6094830625d2f74a230097ee213d1626e1e682cf Mon Sep 17 00:00:00 2001 From: j0ta29 Date: Wed, 10 Jan 2024 12:57:53 +0000 Subject: [PATCH] fixed log typos --- esphome/components/optolink/datapoint_component.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/esphome/components/optolink/datapoint_component.cpp b/esphome/components/optolink/datapoint_component.cpp index bc963554c0..cab7a2abdc 100644 --- a/esphome/components/optolink/datapoint_component.cpp +++ b/esphome/components/optolink/datapoint_component.cpp @@ -7,7 +7,7 @@ namespace esphome { namespace optolink { -static const char *const TAG = "datapoint_component"; +static const char *const TAG = "optolink.datapoint_component"; static std::vector hass_subscriptions_; void DatapointComponent::setup_datapoint() { @@ -133,8 +133,8 @@ void DatapointComponent::datapoint_read_request() { } } else { read_retries_++; - ESP_LOGW(TAG, "%d. read request for %s rejected - reduce update_interval!", read_retries_, - get_component_name().c_str()); + ESP_LOGW(TAG, "%d. read request for %s rejected due to outstanding running request - increase update_interval!", + read_retries_, get_component_name().c_str()); } } } @@ -178,7 +178,8 @@ void DatapointComponent::datapoint_write_request(DPValue dp_value) { if (optolink_->write_value(datapoint_, dp_value_outstanding)) { is_dp_value_writing_outstanding = false; } else { - ESP_LOGW(TAG, "write request for %s rejected - reduce update_interval!", get_component_name().c_str()); + ESP_LOGW(TAG, "write request for %s rejected due to outstanding running request - increase update_interval!", + get_component_name().c_str()); is_dp_value_writing_outstanding = true; } }