mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Replace custom OTA implementation in web_server_base (#9274)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -12,7 +12,7 @@ from esphome.const import (
|
||||
)
|
||||
from esphome.core import CORE, coroutine_with_priority
|
||||
|
||||
AUTO_LOAD = ["web_server_base"]
|
||||
AUTO_LOAD = ["web_server_base", "ota.web_server"]
|
||||
DEPENDENCIES = ["wifi"]
|
||||
CODEOWNERS = ["@OttoWinter"]
|
||||
|
||||
|
||||
@@ -47,9 +47,6 @@ void CaptivePortal::start() {
|
||||
this->base_->init();
|
||||
if (!this->initialized_) {
|
||||
this->base_->add_handler(this);
|
||||
#ifdef USE_WEBSERVER_OTA
|
||||
this->base_->add_ota_handler();
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef USE_ARDUINO
|
||||
|
||||
Reference in New Issue
Block a user