Can you post in the github issue instead? It’s getting too detailed for this forum thread.
This is a great card. really amazing.
There is a new thing in home assistant dashboards which is called badge.
it will be great if we could use the badge button to set a predefined group, so when i press the badge my dining table speaker will group with the sonos bar.
is it possible already? or could you add this feature.
thanks.
Create a script to do that. Then put the script on your dashboard and you can activate the script from there or create an automation triggered by a button and put the button on your dashboard.
I was curious so I confirmed that you can call a script from tapping the new style badge as well.
Hi Everyone.
Will the new Sonos Ace Headphones appear in the Sonos Card as an end point?
Are they classified as an S2?
Thanks
Hi, thanks for the great card, but I have an issue i’d like to get fixed.
I have an automation setup that uses my Sonos to play a doorbell chime wav file when my Ubiquiti door bell is pressed. I dont mind if the Sonos card shows the name of the chime file as the last played “song”, but is there a way to have it only show the filename and not the full path, as it takes up 4 lines as per the screenshot below.
Sure, @PsiCzar ! Included in the new release: v7.22.0
Use mediaTitleNameRegexToReplace
. See example in docs.
Champion effort! Coffee purchased.
I assumed that mediaTitleReplacement would substitute the regex with whatever I put in, but that doesnt seem to be the case? I dont mind just having the file name there so it isnt a big deal.
Thanks for testing it! You found a bug. New release out with the fix v7.22.1
Use mediaTitleReplacement
and mediaTitleRegexToReplace
.
That didnt fix the problem, and replacing the field names with the ones you provided in the post above breaks the regex functionality.
Yes it works, you just need to be careful how you type it. And sometimes you need to quote it (depending on if characters collides with yaml syntax).
Start with something simple and then expand the regex complexity iteratively so you noticed where you need to maybe escape or quote.
Many times regex:s are too complex, and it is maybe often enough with just starting with wildcard. Example: ".*sounds_"
(or maybe your browser just didn’t reload after you upgraded to the new version of the card? )
Great!
That’s probably overkill though. But if it works, it works.
(A simpler one is just ".*\.wav.*"
)
v8.0.0 released!
The big feature is a new section that shows the currently playing queue! Enjoy
I also renamed a bunch of config settings, and because of that decided to step up the major version. It is not actually breaking though, since I’ve included fallbacks to old configs.
Cool! Where and for what do I enable the cue? Spotify or other? Editing the card does not 123 point me to the settings…
Nevermind - sections in first page.
Spotify que remains empty though…
Can someone assist - I’m having problems hiding the progress bar in the header
I basically just want artwork, track and album - this is the closest I can get:
card_mod:
style:
sonos-player$ sonos-player-header$: |
.entity {
display: none;
}
sonos-player$: |
.controls {
display: none;
}
Thanks
Found it:
sonos-player$ sonos-player-header$ sonos-progress$: |
.progress-bar {
display: none !important;
}
.progress {
display: none !important;
}
Can you point me to instructions on how to make custom sources so that I can select Line-In on my Sonos S1 system, Thanks