How do I actually make a TV Remote Control work well in the GUI

If anyone is interested in a pre-made ready to go remote control solution for their Amazon Fire devices, I’d recommend checking out this project:

2 Likes

good job man, looks GREAT! Wish I found this years ago…
I have a Logitech Harmony Remote ( Harmony Touch) and it has really served me well for many many years. Now that I have been getting proficient with Home Assistant, sadly I have been phasing the Harmony remote out and trying to use just my “simple” Roku remote and one I make for HA.

GREAT JOB though wish you had more keywords so I would had found earlier

Harmony really

Love this! I have a remote I created in photoshop, but have no clue how to get that image into home assistant and make the buttons function. Is there any documentation or guidance on this, or could you give me a run down? Thanks!

It’s all here: Harmony Remote YAML - Pastebin.com

So when changing that to my image, how do I make the button presses align with my buttons? Also, will this immediately be added as a card? Thanks!

If you are completely unfamiliar with YAML, you will most likely never be able to make this work.
Essentially, the placement of each button is done by placeing an invisible icon relative to the top left corner of the image. You must do some trial’n’error to fnd the correct values:

   type: icon
  - icon: mdi
    style:
      left: 37%
      top: 19%

I’m familiar with yaml. Wasn’t sure if I needed to add any frontend cards from hacs to make this work. I realize it’s a picture elements card now. You may know this, but I found that you can use inspect element or photoshop to find out where exactly the buttons in your image are, and then easily align them. Thanks for pointing me in the right direction!

Hi Tom_l,
I am a new to HA and not able to get the remote to display. Have created new dashboard and copied both the template and build yaml to blank dashboard.
‘–paper-card-background-color’: ‘rgba(0, 0, 0, 0)’ is depreciated.
Dashboard will not let me save without view and title in fist two lines of code.
Have tried for over two days to get this to display.

Replace it with:

'--ha-card-background': rgba(0, 0, 0, 0)

Thanks but still no display…
Should both template and build info be placed after each other in dashboard or must they be separated in some way?
Also is this remote still working as original post was 4 years ago?

Yes the remote is still working.

The template goes at the top of your raw config. The rest goes in a manual card.

Thanks Tom now working.
Great support.

1 Like