mirror of
https://github.com/esphome/esphome.git
synced 2025-01-08 13:51:43 +01:00
Update esphome/components/http_request/update/http_request_update.h
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
66e27fad8a
commit
d9a2279b21
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class HttpRequestUpdate : public update::UpdateEntity, public PollingComponent {
|
||||||
HttpRequestComponent *request_parent_;
|
HttpRequestComponent *request_parent_;
|
||||||
OtaHttpRequestComponent *ota_parent_;
|
OtaHttpRequestComponent *ota_parent_;
|
||||||
std::string source_url_;
|
std::string source_url_;
|
||||||
std::function<bool(const update::UpdateInfo &)> check_update_{[](const update::UpdateInfo &) { return true; }};
|
std::function<bool(const update::UpdateInfo &)> check_update_{};
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace http_request
|
} // namespace http_request
|
||||||
|
|
Loading…
Reference in a new issue