mirror of
https://github.com/esphome/esphome.git
synced 2025-09-30 17:12:20 +01:00
fix auto load
This commit is contained in:
@@ -16,7 +16,7 @@ from esphome.core import CORE, coroutine_with_priority
|
|||||||
from esphome.coroutine import CoroPriority
|
from esphome.coroutine import CoroPriority
|
||||||
|
|
||||||
|
|
||||||
def AUTO_LOAD():
|
def AUTO_LOAD() -> list[str]:
|
||||||
auto_load = ["web_server_base", "ota.web_server"]
|
auto_load = ["web_server_base", "ota.web_server"]
|
||||||
if CORE.using_esp_idf:
|
if CORE.using_esp_idf:
|
||||||
auto_load.append("socket")
|
auto_load.append("socket")
|
||||||
|
Reference in New Issue
Block a user