From 3c8f9aa3692a6c3d68c559607de8bc10efd4a2cc Mon Sep 17 00:00:00 2001 From: xX7 <5272979+xX7@users.noreply.github.com> Date: Tue, 24 Sep 2024 23:58:06 +0200 Subject: [PATCH] Removed trailing whitespaces --- esphome/components/feedback/feedback_cover.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/feedback/feedback_cover.cpp b/esphome/components/feedback/feedback_cover.cpp index 7c166dcf42..31b390957b 100644 --- a/esphome/components/feedback/feedback_cover.cpp +++ b/esphome/components/feedback/feedback_cover.cpp @@ -189,7 +189,7 @@ void FeedbackCover::set_close_obstacle_sensor(binary_sensor::BinarySensor *close if (state && (this->current_operation == COVER_OPERATION_CLOSING || this->current_trigger_operation_ == COVER_OPERATION_CLOSING)) { ESP_LOGD(TAG, "'%s' - Obstacle collision detected while closing.", this->name_.c_str()); - + if (this->obstacle_rollback_) { this->target_position_ = clamp(this->position + this->obstacle_rollback_, COVER_CLOSED, COVER_OPEN); this->start_direction_(COVER_OPERATION_OPENING); @@ -207,7 +207,7 @@ void FeedbackCover::set_open_obstacle_sensor(binary_sensor::BinarySensor *open_o if (state && (this->current_operation == COVER_OPERATION_OPENING || this->current_trigger_operation_ == COVER_OPERATION_OPENING)) { ESP_LOGD(TAG, "'%s' - Obstacle collision detected while opening.", this->name_.c_str()); - + if (this->obstacle_rollback_) { this->target_position_ = clamp(this->position - this->obstacle_rollback_, COVER_CLOSED, COVER_OPEN); this->start_direction_(COVER_OPERATION_CLOSING);