Build my own IR-Remote card?

Hi. I want to build a card with a more-info card that issues IR commands to some audio equipment, but I can’t see how to do it. It should have a similar feel to the existing media-player card.

Can anyone point me at how to do the following?
I want a card on my dashboard. Tap it, and the more-info card pops up.
The more-info card contains several items (text, icons, whatever). If I tap an item, it sends the appropriate IR command.

There are two basic things I don’t understand:

  • How to build a custom more-info/pop-up/dialog card.
  • How to put several items on a single card, each with their own tap_action.

I have successfully sent an IR command from a tap_action (see below), I just need to get the frontend right.

type: custom:mushroom-template-card
primary: Denon Mute
icon: mdi:volume-mute
  action: call-service
  service: script.denon_all
    code: '0x1b48'
icon_color: blue

Many thanks!

You will need to use this third party resource:

I don’t use mushroom cards but you could do something similar to this: How do I actually make a TV Remote Control work well in the GUI - #4 by tom_l

Excellent, thanks!
I have not tried the browser-mod/pop-up yet, but I have successfully re-purposed your Kodi interface. Exactly what I needed.

1 Like