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
tap_action:
action: call-service
service: script.denon_all
data:
code: '0x1b48'
icon_color: blue
Many thanks!