[remote_base] Add AEG Hob2Hood Infrared Protocol (#4687)

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>
This commit is contained in:
Mat931
2026-09-26 00:42:21 +01:00
committed by GitHub
co-authored by pre-commit-ci-lite[bot] J. Nick Koston
parent bfe1f7bd17
commit cfb7d8089e
8 changed files with 289 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
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
async def to_code_testing(config: ConfigType) -> None:
# Protocol sources are compiled only behind their define; keep the ones under test.
request_protocol("hob2hood")
manifest.to_code = to_code_testing
# AUTO_LOAD is not resolved by the unit test build.
manifest.dependencies = manifest.dependencies + ["binary_sensor"]