1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-29 16:42:19 +01:00

fix auto load

This commit is contained in:
J. Nick Koston
2025-09-27 13:52:49 -05:00
parent f6cc548d19
commit ddd004985b

View File

@@ -16,7 +16,7 @@ from esphome.core import CORE, coroutine_with_priority
from esphome.coroutine import CoroPriority
def AUTO_LOAD():
def AUTO_LOAD() -> list[str]:
auto_load = ["web_server_base", "ota.web_server"]
if CORE.using_esp_idf:
auto_load.append("socket")