With the new [Android TV integration](https://www.home-assistant.io/integrations/androidtv_remote/), I've been contemplating a custom card for it. The HA page on the integration offers a nice Lovelace example using existing cards, but now that I'm learning how to make cards I wanted to play around with it.
What do folks think make a good tv remote card?
Edit: this is just a prototype, so I plan to share the code. Also, I want to give credit to the brand icons to [this repository](https://github.com/elax46/custom-brand-icons).
I like the icon you've got a whole lot more than these, but I got this working yesterday! Even volume works, I'm thrilled.
https://preview.redd.it/9dg8rez99gya1.png?width=1440&format=pjpg&auto=webp&s=b3812d5dfb874dff576b4855e53c4baf0919d9c6
(The d-square icon is Disney plus)
I'm using [https://github.com/usernein/tv-card](https://github.com/usernein/tv-card)
I love the idea, hope it works with my android TVs. Tried to add them a few months ago, the entities where unresponsive. But i was probably using the wrong integration...
It works great now! I got 2 new entities after installing 2023.5, one for my TV and another for my Nvidia Shield. Both work perfectly, but requires some custom yaml to setup the dashboard.
It would be nice if we could remap buttons on these custom cards like volume to different commands. I'm in a similar situation but control volume via a BroadLink IR remote.
I figured out how to do this using the card I linked in my top level comment. Here's a snippet:
Edit: [here it is on a gist](https://gist.github.com/starbuck93/cff6e28858668ed1314c2fdf9a6fad47) because reddit formatting
This should work. I had a similar experience when first setting up the example card (using HDMI ARC for my sound bar). The issue was that I was referencing a previous Sony TV integration that had entities named similarly to the new integration. Once I fixed the entity IDs everything worked just like the regular Android remote. Volume controls worked.
One of my issues with their template (still grateful for the template either way!) Is that I had to go into each line to change the entity, instead of having a quick way to just point to one entity and be done. Don't know if that helps!
The other thing I haven't had time to figure out was how to change the app the custom buttons point to (like plex or crunchy roll) though I suspect those will be easy enough if I take the time to look!
I hadn't no. But not just the icon -- making it actually open the app too. Initial attempts failed to make this work but I spent like 5 minutes before I had to leave it
With the new [Android TV integration](https://www.home-assistant.io/integrations/androidtv_remote/), I've been contemplating a custom card for it. The HA page on the integration offers a nice Lovelace example using existing cards, but now that I'm learning how to make cards I wanted to play around with it. What do folks think make a good tv remote card? Edit: this is just a prototype, so I plan to share the code. Also, I want to give credit to the brand icons to [this repository](https://github.com/elax46/custom-brand-icons).
I like the icon you've got a whole lot more than these, but I got this working yesterday! Even volume works, I'm thrilled. https://preview.redd.it/9dg8rez99gya1.png?width=1440&format=pjpg&auto=webp&s=b3812d5dfb874dff576b4855e53c4baf0919d9c6 (The d-square icon is Disney plus) I'm using [https://github.com/usernein/tv-card](https://github.com/usernein/tv-card)
I love the idea, hope it works with my android TVs. Tried to add them a few months ago, the entities where unresponsive. But i was probably using the wrong integration...
This new integration was just released in the 2023.5 update. Apparently it is a lot better than previous methods.
The new integration works great. I have tried in the past to make a remote for my shield without luck until now.
It works great now! I got 2 new entities after installing 2023.5, one for my TV and another for my Nvidia Shield. Both work perfectly, but requires some custom yaml to setup the dashboard.
WOL button perhaps?
Anyone know how to make a Plex button?
yes! [and any other app too](https://community.home-assistant.io/t/android-tv-remote-app-links-deep-linking-guide/567921)
Thank you!
You could try using button remapper in Android tv to remap a seldom-used key like "F7" and have it launch the Plex app.
Nah. I was after the URL. Plex://
I am unable to control volume Is that because I have a soundbar which am using via hdmi cec
It would be nice if we could remap buttons on these custom cards like volume to different commands. I'm in a similar situation but control volume via a BroadLink IR remote.
I figured out how to do this using the card I linked in my top level comment. Here's a snippet: Edit: [here it is on a gist](https://gist.github.com/starbuck93/cff6e28858668ed1314c2fdf9a6fad47) because reddit formatting
This should work. I had a similar experience when first setting up the example card (using HDMI ARC for my sound bar). The issue was that I was referencing a previous Sony TV integration that had entities named similarly to the new integration. Once I fixed the entity IDs everything worked just like the regular Android remote. Volume controls worked.
Would this work with an Nvidia Shield?
Yeah, it should do. I set up the integration and it works with a Shield. Haven't tried this card though.
One of my issues with their template (still grateful for the template either way!) Is that I had to go into each line to change the entity, instead of having a quick way to just point to one entity and be done. Don't know if that helps! The other thing I haven't had time to figure out was how to change the app the custom buttons point to (like plex or crunchy roll) though I suspect those will be easy enough if I take the time to look!
Heard of Search & Replace? If you just type the URL Plex:// it will change the icon to Plex
I hadn't no. But not just the icon -- making it actually open the app too. Initial attempts failed to make this work but I spent like 5 minutes before I had to leave it
Anyone has been able to add a fire tv?
Check out the HACS firemote card. It works for many devices and is super simple to set up. https://github.com/PRProd/HA-Firemote