mirror of
https://github.com/esphome/esphome.git
synced 2026-10-20 21:16:46 +00:00
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: J. Nick Koston <nick@koston.org> Co-authored-by: J. Nick Koston <nick@home-assistant.io>
10 lines
380 B
Python
10 lines
380 B
Python
from esphome.loader import FileResource
|
|
from tests.testing_helpers import ComponentManifestOverride
|
|
|
|
|
|
def override_manifest(manifest: ComponentManifestOverride) -> None:
|
|
# ld2450 is MULTI_CONF, so no codegen runs here to keep polygon.cpp; the tests need it
|
|
manifest.resources = manifest.resources + [
|
|
FileResource("esphome.components.ld2450", "polygon.cpp")
|
|
]
|