mirror of
https://github.com/esphome/esphome.git
synced 2026-10-14 10:12:52 +00:00
Co-authored-by: James Nimmo <james@nimmo.net.nz> Co-authored-by: J. Nick Koston <nick@home-assistant.io>
9 lines
416 B
Python
9 lines
416 B
Python
from tests.testing_helpers import ComponentManifestOverride
|
|
|
|
|
|
def override_manifest(manifest: ComponentManifestOverride) -> None:
|
|
# The harness walks dependencies from the component manifest, not from the
|
|
# climate platform, so declare the platform's auto-load here. Otherwise the
|
|
# transmitter's code generation runs and the host build cannot link it.
|
|
manifest.auto_load = ["climate_ir", "climate"]
|