mirror of
https://github.com/esphome/esphome.git
synced 2026-10-14 10:12:52 +00:00
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: J. Nick Koston <nick@koston.org> Co-authored-by: J. Nick Koston <nick@home-assistant.io>
16 lines
624 B
Python
16 lines
624 B
Python
from esphome.types import ConfigType
|
|
from tests.testing_helpers import ComponentManifestOverride
|
|
|
|
|
|
def override_manifest(manifest: ComponentManifestOverride) -> None:
|
|
from esphome.components.remote_base import request_protocol
|
|
|
|
# The harness walks the component manifest, not the climate platform, so declare its auto-load here
|
|
manifest.auto_load = ["climate_ir", "climate"]
|
|
|
|
async def to_code_testing(config: ConfigType) -> None:
|
|
# The AEHA source is compiled only behind its define; climate.py requests it in the real build.
|
|
request_protocol("aeha")
|
|
|
|
manifest.to_code = to_code_testing
|