home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.77k stars 30.87k forks source link

DenonAVR cannot select source anymore #59189

Closed Sjorsa closed 3 years ago

Sjorsa commented 3 years ago

The problem

I remember being able to select the input source of a denon/marantz entity, like aux, FM, spotify, etc. I cannot do this anymore.

What version of Home Assistant Core has the issue?

core-2021.11.0

What was the last working version of Home Assistant Core?

core-2021.10 (I think)

What type of installation are you running?

Home Assistant Container

Integration causing the issue

denonavr

Link to integration documentation on our website

https://www.home-assistant.io/integrations/denonavr/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Setup of media_player platform denonavr is taking over 10 seconds.

But this error has been there for a while, I can still control other functions of the reciever.



### Additional information

_No response_
probot-home-assistant[bot] commented 3 years ago

denonavr documentation denonavr source (message by IssueLinks)

probot-home-assistant[bot] commented 3 years ago

Hey there @ol-iver, @starkillerog, mind taking a look at this issue as it has been labeled with an integration (denonavr) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

gbuktenica commented 3 years ago

I have a Denon AVC-X3700H that has lost the ability to change source in this release too.

madAndroid commented 3 years ago

I have a Denon AVC-X3700H that has lost the ability to change source in this release too.

Two Denon receivers in my network, S960H, and X1550H - both have lost the capability of selecting source

pansink commented 3 years ago

I have the same problem, i can nolonger change the input source for my denon avr from home assistant

St4n commented 3 years ago

Same problem here, unable to select the source on Marantz SR7009

wmrato commented 3 years ago

Same problem too,

On an ODROID N2 with Home assistant v2021.11.1 rendered via Chrome on a Denon AVR-X2400H using HACS custom card mini-media-player

Source is not an array when viewed via Developer Tools | States & does not list the sources like the working sound_mode.

Note: HEOS media player does work, it showing a list of source_list, but is truncated & does show all the true inputs

Screenshot from 2021-11-08 08-31-39


This shows on frontend as the Source is displayed as just text ("CD Mux7" in screenshot) with no dropdown list showing even with card configurations option of source: set to either icon or list.

The Sound mode still works & displays a dropdown.

Error occurred after updates of HACS "mini-media-player", Home assistant v2021.11.0

Screenshot from 2021-11-06 00-45-27


Under Devices in Configuration - the source is not shown in Controls section, no text or dropdown.

Screenshot from 2021-11-06 00-49-14

.

Note Let me know how I can help fix issue, I have some python & API skills. Would love to know if can add support for audio source's secondary option of video source so I can individually swap both Audio & video. It's accessed on the remote by [Option] then [Video Select] but only works on non-HDMI Inputs.

mrblondeblonde commented 3 years ago

Same issue with Denon X2400. image

iculookn commented 3 years ago

Same issue with Marantz NR1609

gbuktenica commented 3 years ago

I suspect this commit by @balloob may have been the breaking change.

alxrdn commented 3 years ago

Same here with Marantz NR1604

silver0007 commented 3 years ago

Just upgraded to core 2021.11.2 hoping that it's fixed somewhere under the radar but it's not. In my case it's Denon x2500.

gbuktenica commented 3 years ago

Hi @silver0007 , you will see this issue closed before a fix is pushed to a public release.

vwtune commented 3 years ago

Same problem here with Denon X4200

quizzical86 commented 3 years ago

While I'm no expert I believe it's best practice to give a thumbs up 👍 on the issue rather than indicating that you have the same problem :-)

ofeksit commented 3 years ago

Same here. I've tried to configure HEOS integration instead of the regular one, that's let me control the source of the main zone. At least that for now... Waiting for fix

ol-iver commented 3 years ago

This seems to be the root cause. The sources_list is assigned when creating the instance. Denonavr library returns new list instances. Thus, the assigned source list remains empty and there are no sources in HA. @bieniu please have a look at it as the PR is yours

madAndroid commented 2 years ago

I can confirm that the latest release resolves the issue 🎉

quizzical86 commented 2 years ago

EDIT: removed my post as I was mistaken

Sjorsa commented 2 years ago

@quizzical86 you should take a look at the button shortcuts in the custom mini media player card: https://github.com/kalkih/mini-media-player#card-with-media-shortcuts