[core] Fix platform subcomponents not filtering source files

This commit is contained in:
J. Nick Koston
2026-01-14 07:24:54 -10:00
parent 2f6863230d
commit ea4e714f62
4 changed files with 5 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ from esphome.const import (
UNIT_PERCENT,
)
from . import CONF_DEBUG_ID, DebugComponent
from . import CONF_DEBUG_ID, FILTER_SOURCE_FILES, DebugComponent # noqa: F401
DEPENDENCIES = ["debug"]

View File

@@ -8,7 +8,7 @@ from esphome.const import (
ICON_RESTART,
)
from . import CONF_DEBUG_ID, DebugComponent
from . import CONF_DEBUG_ID, FILTER_SOURCE_FILES, DebugComponent # noqa: F401
DEPENDENCIES = ["debug"]

View File

@@ -11,7 +11,7 @@ from esphome.const import (
)
from esphome.core import CORE, TimePeriod
from . import Nextion, nextion_ns, nextion_ref
from . import FILTER_SOURCE_FILES, Nextion, nextion_ns, nextion_ref # noqa: F401
from .base_component import (
CONF_AUTO_WAKE_ON_TOUCH,
CONF_COMMAND_SPACING,

View File

@@ -1,5 +1,7 @@
from esphome.components import binary_sensor, remote_base
from . import FILTER_SOURCE_FILES # noqa: F401
DEPENDENCIES = ["remote_receiver"]
CONFIG_SCHEMA = remote_base.validate_binary_sensor