Closed eiiot closed 3 years ago
While were at it: please allow data templates for service calls as well. I posted this in the media_player popup-card, but should also be included in light popup card (and other popup cards like cover and switch). So we can use:
- icon: 'mdi:link-plus'
color: var(--background-color)
service: squeezebox.sync
service_data:
entity_id: "{{states.media_player.lms_speakers.attributes.active_child}}"
other_player: media_player.lms
fire-dom-event added in V0.5
I love that we are able to call services in the popup, but I would also love to be able to use other actions, such as "fire-dom-event" on a button. This way, I can create multiple popups spanning out of one popup!
Thanks for the great card :)