From ddd004985b12245e516281d71552c6916a151afd Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 27 Sep 2025 13:52:49 -0500 Subject: [PATCH] fix auto load --- esphome/components/captive_portal/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/captive_portal/__init__.py b/esphome/components/captive_portal/__init__.py index 69db605ccc..99acb76bcf 100644 --- a/esphome/components/captive_portal/__init__.py +++ b/esphome/components/captive_portal/__init__.py @@ -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")