I’m new to the Home Assistant community (installed my instance two weeks ago), but a long time Roku developer, and have lots of Roku devices in my house, and noticed that the support for this device is currently pretty limited.
So I decided to work to improve this, I first created a small app to show my cameras on Roku, just using the RESTFull API and a long-lived token, but quickly realized that I needed to improve an (undocumented) feature of the Roku component. The documentation mentions that the play_media
service only supports channel
as media_type
but that is incorrect, in the code it is possible to use the media_type
as app
, the limitation actually is that is not possible to attach to the launch()
method the contentId
deeplink to select the starting media (in my case, camera). So I made a small change on Roku component to allow add this id, as an optional comma separated parameter. This way is now possible for instance to start YouTube with your favorite cat video, but also possible to start my new app with the selected camera.
My question for the community is that if would be better to start sharing this change on Roku component as a custom component and only later push the PR or go with the PR now as this is a generic improvement to the core component?
PS. I will publish both codes to my Github soon, and share the links here.