Files
esphome/tests/components/toshiba/__init__.py
T
377a43c5be [toshiba] Add 'seiya' model support (#17830)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
Signed-off-by: Petr Helebrant <petr@helebrant.cz>
2026-10-10 17:17:22 -10:00

16 lines
662 B
Python

import esphome.codegen as cg
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"]
async def to_code_testing(config):
# on_receive decodes the generic frame through the shared protocol class
cg.add_define("USE_REMOTE_PROTOCOL_TOSHIBA_AC")
manifest.to_code = to_code_testing