Key sensors for HomeKit Remotes#35421
Closed
bdraco wants to merge 1 commit intohome-assistant:devfrom
Closed
Conversation
9 tasks
Contributor
|
Maybe after one of these approaches is approved and merged we could create a repository with pre-made template automations that fit each one of the |
Member
Author
|
Will need to fix the |
Member
Author
Contributor
|
I also believe that the simplest solution is firing events. I thought that #29588 already included the entity ID of the TV as one of the event parameters |
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.
The following PRs (in order) should be reviewed before this one as they make changes that will cause conflicts with this PR.
#35299
#35147
#35100
#35384
Proposed change
Key sensors for HomeKit Remotes. This allows remote key pressed in homekit to be seen on the sensors so they can be mapped via automations. Previous approaches were to use custom events. Now that multiple tv media players can exist it means multiple virtual remotes can exist as well. A sensor per remote seemed like a good way to avoid confusion. Will likely add device triggers in a followup.
Type of change
Example entry for
configuration.yaml:# Example configuration.yamlAdditional information
Checklist
black --fast 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..coveragerc.The integration reached or maintains the following Integration Quality Scale: