diff --git a/esphome/components/http_request/update/http_request_update.cpp b/esphome/components/http_request/update/http_request_update.cpp index a27c5ced0e..4e1686ce42 100644 --- a/esphome/components/http_request/update/http_request_update.cpp +++ b/esphome/components/http_request/update/http_request_update.cpp @@ -127,7 +127,7 @@ void HttpRequestUpdate::update() { if (this->update_info_.latest_version.empty() || this->update_info_.latest_version == this->update_info_.current_version || - !this->check_update_(this->update_info_)) { + (this->check_update_ != nullptr && !this->check_update_(this->update_info_))) { this->state_ = update::UPDATE_STATE_NO_UPDATE; this->update_info_.latest_version = this->update_info_.current_version;