music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.2k stars 44 forks source link

Chromecast with Google TV (4K) devices volume control issues #2517

Open madbrain76 opened 1 week ago

madbrain76 commented 1 week ago

What version of Music Assistant has the issue?

2.0.7

What version of the Home Assistant Integration have you got installed?

2024.6.2

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

The problem

Volume control is available even if it has been disabled on the device

How to reproduce

  1. add Chromecast player provider
  2. go to settings/player
  3. enable a Chromecast with Google TV 4K device
  4. select it as player in MA
  5. select an album
  6. press e blue "play" button
  7. playback starts
  8. there is a volume control bar, but changing it has no effect

Music Providers

Plex

Player Providers

Chromecast

Full log output

log.txt

Additional information

The Google Home app also shows a volume control for this device. However, if you change it, a message appears stating "To adjust volume, update Chromecast settings in the Remote & Accessories settings menu". I have both devices connected to Marantz receivers, and I set the control on the receiver through its remote, not on the Chromecasts.

Clearly, Google Home has a way of querying that setting, since they are showing this message. I don't know if there is a way to do the same through their API.

I believe the UI behavior in Google Home is not desirable to duplicate here. Simply greying out the volume control makes more sense to me.

What version of Home Assistant Core are your running

2024.6.3

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Windows