diff --git a/esphome/components/libretiny/__init__.py b/esphome/components/libretiny/__init__.py index f641c1776d..149e5d1179 100644 --- a/esphome/components/libretiny/__init__.py +++ b/esphome/components/libretiny/__init__.py @@ -3,7 +3,6 @@ import logging from os.path import dirname, isfile, join import esphome.codegen as cg -from esphome.config_helpers import filter_source_files_from_platform import esphome.config_validation as cv from esphome.const import ( CONF_BOARD, @@ -21,7 +20,6 @@ from esphome.const import ( KEY_FRAMEWORK_VERSION, KEY_TARGET_FRAMEWORK, KEY_TARGET_PLATFORM, - PlatformFramework, __version__, ) from esphome.core import CORE @@ -342,14 +340,3 @@ async def component_to_code(config): cg.add_platformio_option("custom_fw_version", __version__) await cg.register_component(var, config) - - -FILTER_SOURCE_FILES = filter_source_files_from_platform( - { - "gpio_arduino.cpp": { - PlatformFramework.BK72XX_ARDUINO, - PlatformFramework.RTL87XX_ARDUINO, - PlatformFramework.LN882X_ARDUINO, - }, - } -)