You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a "next" card that I use, should work in a very similar way.
My card in magic-cards is Action: "Home Assistant" and the URI is just "next" (without quotes).
In Home Assistant, I have an Automation with a trigger type of Event. Event type is "magic_card_scanned". The event data is:
{ "card_type": "event", "card_uri": "next" }
The Action for this automation is pretty straight forward, but this is where yours would start to differ. My action type is "Call service", Service is "media_player.media_next_track. Service data is:
{ "entity_id": "media_player.spotify" }
I think you want "media_player.media_stop" for your Service. I hope this helps!
Hi,
Is there a way to refer one card to send to home assistant command to stop playing:
action:
- service: media_player.media_stop
What should be the trigger?
tnx
The text was updated successfully, but these errors were encountered: