Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HassSetVolume does not work for media players in idle state #2782

Open
mitrokun opened this issue Dec 23, 2024 · 2 comments
Open

HassSetVolume does not work for media players in idle state #2782

mitrokun opened this issue Dec 23, 2024 · 2 comments

Comments

@mitrokun
Copy link
Contributor

Has anything changed under the hood? I just discovered that it is impossible to change the volume of an idle device.
As far as I remember, there was no such restriction before, but I could be wrong.

In any case, it should be possible to change the volume, at least using the device name.
Hearing an error response after this simple request is very unexpected.

@mitrokun mitrokun changed the title HassSetVolume does not work for media players in idle mode HassSetVolume does not work for media players in idle state Dec 23, 2024
@andreasbrett
Copy link
Contributor

andreasbrett commented Dec 25, 2024

True. Especially for AV receivers that are exposed as media_player but are always Idle because they are not playing back the media but rather are mere volume controllers. Yes, you could use the outdated universal media player integration but that thing is so old and still yaml...

@jackwilsdon
Copy link
Contributor

This issue probably belongs in core. It was changed in home-assistant/core#115445 (which also has a bit of discussion on it), the relevant code is here:

https://github.com/home-assistant/core/blob/d676169b04cb26c76b3969c3f695e1a981062897/homeassistant/components/media_player/intent.py#L96-L97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants