Skip to content

Doc for homekit media player key actions#10393

Closed
nickw444 wants to merge 3 commits into
home-assistant:nextfrom
nickw444:nwhyte/homekit-media-player-keys-doc
Closed

Doc for homekit media player key actions#10393
nickw444 wants to merge 3 commits into
home-assistant:nextfrom
nickw444:nwhyte/homekit-media-player-keys-doc

Conversation

@nickw444
Copy link
Copy Markdown
Contributor

@nickw444 nickw444 commented Sep 19, 2019

Description:
Add support for script execution for Homekit TVs keypress

home-assistant/core#22968 recently added a way to expose media_player entities with device_class: tv. Currently only play/pause button is connected to media_player.media_play_pause:

https://github.com/home-assistant/home-assistant/blob/db48d5effdfc40d1ade8e54ea9fc52801e1e300a/homeassistant/components/homekit/type_media_players.py#L70-L84

Since there is no existing service on media_player for generic button navigation/presses (and I think that is a whole can of worms), this PR adds a way for users to provide a map of scripts to run on key presses

Pull request in home-assistant (if applicable): home-assistant/core#26671

Checklist:

  • Branch: next is for changes and new documentation that will go public with the next Home Assistant release. Fixes, changes and adjustments for the current release should be created against current.
  • The documentation follows the standards.

@probot-home-assistant probot-home-assistant Bot added has-parent This PR has a parent PR in another repo next This PR goes into the next branch labels Sep 19, 2019
@klaasnicolaas klaasnicolaas added new-feature This PR adds documentation for a new Home Assistant feature to an existing integration ready-for-review This PR needs to be reviewed labels Sep 19, 2019
@nickw444
Copy link
Copy Markdown
Contributor Author

nickw444 commented Dec 7, 2019

Superseded by #11382

@nickw444 nickw444 closed this Dec 7, 2019
@probot-home-assistant probot-home-assistant Bot removed the ready-for-review This PR needs to be reviewed label Dec 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

has-parent This PR has a parent PR in another repo new-feature This PR adds documentation for a new Home Assistant feature to an existing integration next This PR goes into the next branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants