-
-
Notifications
You must be signed in to change notification settings - Fork 28.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Media player send key service #27587
Conversation
Can someone tell me what is the error behind the codecov/patch test. How can I address it? |
Hi there, @tulindo! That is because you've adjusted on of our internal/core components: Besides all that, it might need to be discussed in our architectural repository first: https://github.com/home-assistant/architecture |
Thanks @frenck you've been very clear. It sounds logical that being media player a core component it has to be discussed somewhere... But I didn't know how to start a discussion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will need to be first reviewed in home-assistant/architecture#299
@@ -63,3 +64,40 @@ | |||
SUPPORT_PLAY = 16384 | |||
SUPPORT_SHUFFLE_SET = 32768 | |||
SUPPORT_SELECT_SOUND_MODE = 65536 | |||
|
|||
MEDIA_KEYS = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these must be reduced to the common denominator (probably numbers + prog + volume + power)
The samsungtv integration has tests. They need to be extended when new code is added to keep coverage in line. |
Let's close this since the architecture issue discussion points in another direction. |
Breaking Change:
None
Description:
Creation of the new media_send_key service. This will allow to send to the media player a control key (just like an IR remote control).
This can be useful to implement at frontend level a generic remote control to deal with television.
The service is also been implemented for samsungtv component.
Checklist:
tox
. Your PR cannot be merged unless tests pass