home-assistant/core

DenonAVR cannot select source anymore

Sjorsa opened this issue ยท 20 comments

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_

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)

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

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

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

St4n commented

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

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.

Same issue with Denon X2400.
image

Same issue with Marantz NR1609

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

Same here with Marantz NR1604

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.

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

Same problem here with Denon X4200

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 :-)

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

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

I can confirm that the latest release resolves the issue ๐ŸŽ‰

EDIT: removed my post as I was mistaken

@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