mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	preen
This commit is contained in:
		| @@ -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, | ||||
|         }, | ||||
|     } | ||||
| ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user