-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Is there an existing issue for this?
- I have searched the existing issues
Description
Originally reported here: https://unfolded.community/t/physical-buttons/1012
I’m creating an integration to control my Virgin Media TiVo. However, when I assign a media player action to a physical button it doesn’t work - no event is seen by the integration. However, if I add the same action to a soft button on the touch screen it works fine.
I have tried restarting the activity just in case that was a problem, but that doesn’t seem to be the case.
I have mapped an action from the Android TV integration to a physical button, and that works.
Is there anything special that I need to do in my integration to allow physical buttons to be used?
I may have narrowed this down a little more. If I create a button entity in my integration and map that to a physical button - it works.
Any action from a media player entity from my integration does not seem to work when mapped to a physical button, but does when it is mapped to a button on the touch screen.
I'm not sure if this might be related to the following: -
- Web Configurator Hard Buttons Not Saving #229 (although mine seemingly save as I have tested actions from other media entities using UC provided integrations)
- https://unfolded.community/t/ir-learned-codes-to-hard-buttons-help/1020/2
How to Reproduce
Using a custom integration the provides a media player...
- Add the media player to an activity
- Map a physical button to an action from the media player
- Stop the activity on the remote (if it was started)
- Start the activity on the remote
Expected behavior
Physical buttons to work with the media player entity from the custom integration.
System version
1.5.2
What part of the system affected by the problem?
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status