diff --git a/esphome/components/tuya/cover/tuya_cover.cpp b/esphome/components/tuya/cover/tuya_cover.cpp index b63eb9109d..b55873c3c1 100644 --- a/esphome/components/tuya/cover/tuya_cover.cpp +++ b/esphome/components/tuya/cover/tuya_cover.cpp @@ -66,7 +66,7 @@ void TuyaCover::control(const cover::CoverCall &call) { auto position_int = static_cast(pos * this->value_range_); position_int = position_int + this->min_value_; - parent_->set_integer_datapoint_value(*this->position_id_, position_int); + parent_->force_set_integer_datapoint_value(*this->position_id_, position_int); } } if (call.get_position().has_value()) { @@ -82,7 +82,7 @@ void TuyaCover::control(const cover::CoverCall &call) { auto position_int = static_cast(pos * this->value_range_); position_int = position_int + this->min_value_; - parent_->set_integer_datapoint_value(*this->position_id_, position_int); + parent_->force_set_integer_datapoint_value(*this->position_id_, position_int); } }