mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 18:54:14 +01:00
Update esphome/components/http_request/update/http_request_update.cpp
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
d9a2279b21
commit
9151525c9e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue