Direct link for the music assistant radio page? #1488
Answered
by
krisnoble
mefistofelis
asked this question in
Q&A
-
Is there any way that i can make a button in home assistant, which when clicked navigates directy to the radio page of music assistant? |
Beta Was this translation helpful? Give feedback.
Answered by
krisnoble
Aug 23, 2023
Replies: 1 comment 8 replies
-
Sure, here's the YAML for a button card that you can then add to a
Essentially just using the |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All that button will do is open up a new tab in your browser with the URL you give it, so HTTPS should be fine. 8095 is the default port yes, so if you're using something else you'll need to adjust it. Just to check in case it's not clear - you need to replace
<MASS_ADDRESS>
in that code with the IP or mDNS address for the device.Or, to put it simply - navigate to the Radio page in MA in your browser like normal, then copy/paste the full URL after
url_path:
in that snippet and it should work. If not, perhaps there is something else going on but that's probably an HA question rather than an MA one.