mvdwetering / yamaha_ynca

Custom integration for Home Assistant to support Yamaha AV receivers with the YNCA protocol (serial and network).
Apache License 2.0
40 stars 4 forks source link

AUDIO5 is not detected #277

Closed MichaelHeimann closed 5 months ago

MichaelHeimann commented 5 months ago

Describe the bug Homeassistant shows Log Warning (see Warning Section) under normal operation. I do not know if and how I triggered the warning or if it's just because the integration is used.

Also: The mediaplayer doesn't offer AUDIO5 as a input

To Reproduce Have a RX-V685

Expected behavior No Warning

Diagnostics config_entry-yamaha_ynca-c75a667929ce94b932caa36327042a0f.json

Logging

Logger: ynca.enums
Source: /usr/local/lib/python3.12/site-packages/ynca/enums.py:215
First occurred: 9:57:05 AM (1 occurrences)
Last logged: 9:57:05 AM

Unknown value 'AUDIO5' in Input

Environment Provide details about the versions you are using, which helps to reproduce and find the issue quicker.

Additional context I'm not 100% sure, but I think AUDIO5 is the virtual input channel used for ARC. So maybe all receivers with ARC functionallity are affected.

mvdwetering commented 5 months ago

According to the manual AUDIO5 is a stereo analog audio input on the back of the receiver.

The current list of audio inputs only goes up to AUDIO4 so need to extend that (which is pretty easy), but next to that I have to figure out a way to avoid AUDIO5 getting enabled for all users of the integration.

I need to think a bit about how to do the second part.

mvdwetering commented 5 months ago

That was actually easier than expected. AUDIO5 input should be available in v7.8.0

mvdwetering commented 5 months ago

Closing as it has been implemented