Add radio_frequency entity integration#168447
Merged
Conversation
Add a new radio_frequency entity domain that acts as an abstraction layer between RF transceiver hardware and device-specific integrations, following the same pattern as the infrared entity platform. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
21 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
Introduces a new radio_frequency entity platform (modeled after infrared) to abstract RF transmitters for use by other integrations and helpers.
Changes:
- Adds the
radio_frequencyentity integration, including base entity class, helper APIs, and translations. - Registers the new entity platform in generated platforms and adds repository ownership/config entries.
- Adds dependency pin (
rf-protocols==0.0.1) and a new test suite for the integration.
Reviewed changes
Copilot reviewed 13 out of 15 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
homeassistant/components/radio_frequency/__init__.py |
Implements the RF entity component, helper APIs, and base entity class. |
homeassistant/components/radio_frequency/const.py |
Declares the radio_frequency domain constant. |
homeassistant/components/radio_frequency/manifest.json |
Declares the new integration and its dependency. |
homeassistant/components/radio_frequency/strings.json |
Adds exception string keys for translated errors. |
homeassistant/components/radio_frequency/translations/en.json |
Provides English exception messages. |
homeassistant/components/radio_frequency/icons.json |
Defines default icon for the entity component. |
homeassistant/generated/entity_platforms.py |
Registers RADIO_FREQUENCY as an entity platform. |
tests/components/radio_frequency/__init__.py |
Initializes the new test package. |
tests/components/radio_frequency/conftest.py |
Adds fixtures and mock entity/command types for tests. |
tests/components/radio_frequency/test_init.py |
Adds tests for setup, transmitter selection, send-command behavior, and state restore. |
requirements.txt |
Adds rf-protocols to core requirements. |
requirements_all.txt |
Adds rf-protocols to the generated full requirements list. |
requirements_test_all.txt |
Adds rf-protocols to the generated test requirements list. |
CODEOWNERS |
Adds ownership entries for the new integration and tests. |
.core_files.yaml |
Marks the new component as a base platform path. |
21 tasks
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This was referenced Apr 17, 2026
The new major release replaces the Timing dataclass with a raw list of signed alternating microseconds. Update the mock command fixture to match the new get_raw_timings signature. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Agent-Logs-Url: https://github.com/home-assistant/core/sessions/32a6c220-a190-4b37-a57e-ae7de7919566 Co-authored-by: balloob <1444314+balloob@users.noreply.github.com>
MartinHjelmare
requested changes
Apr 22, 2026
Contributor
|
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
This was referenced Apr 23, 2026
MartinHjelmare
approved these changes
Apr 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Breaking change
Proposed change
Add a new
radio_frequencyentity domain that acts as an abstraction layer between RF transceiver hardware and device-specific integrations, following the same pattern as theinfraredentity platform.The architecture was approved in: home-assistant/architecture#1365
Type of change
Additional information
Checklist
ruff format homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all.To help with the load of incoming pull requests: