Software players (Roonbridge or client on pc/mac) do not have a power button/function so you can never turn them off. The Roon API returns these players as not supporting standby. Hardware players however (or players with additional source control) do have a power control so these can be turned off.
I was struggling a bit with this for a while because my family couldn’t understand why a zone was still listed as “powered on” in home assistant while it was not playing. So, I came up with a workaround by showing the players that do not support standby which are pauses/stopped as powered off.
Offcourse this is a personal preference for my own situation so I will append a configuration toggle for this behaviour in next update.
This is the configuration I have in place for the playlist widget:
- Selecteer playlist
initial: Selecteer playlist
- Selecteer ruimte
initial: Selecteer ruimte
Note that I used dutch phrases for the names, you can name those whatever you want.
In my views (groups section of hass), I’ve added this group:
name: Muziek spelers
And this group is added to a view I created for all music related stuff:
Now to make it even more complete, I’ve added each individual player to each “room view” in hass but that’s more personal taste I guess.
If you want to use hass to say “Turn on playlist Radio” or something like that with Google Assistant or Alexa, the most easy way (atm) is by using a script. Just add a script to your home assistant section;
alias: "Playlist Radio"
- service: media_player.play_media
media_content_id: "My playlist name in Roon"
I don’t know about Google Assistant but Alexa picks up these scripts as available entities so you can just control them like your lights.
Offcourse a real integration between Google and/or Alexa would be even better but for now you can already do a lot with using hass in between.