1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-17 02:32:20 +01:00

Revert "[core] Dont copy platform source files if there are no entities of that type" (#10441)

This commit is contained in:
Clyde Stubbs
2025-08-26 09:15:44 +10:00
committed by GitHub
parent c01a26607e
commit 9007621fd7
2 changed files with 2 additions and 5 deletions

View File

@@ -181,7 +181,7 @@ the custom_components folder or the external_components feature.
def copy_src_tree():
source_files: list[loader.FileResource] = []
for _, component in iter_components(CORE.config, CORE.platform_counts):
for _, component in iter_components(CORE.config):
source_files += component.resources
source_files_map = {
Path(x.package.replace(".", "/") + "/" + x.resource): x for x in source_files