ol-iver / denonavr

Automation Library for Denon AVR receivers.
MIT License
176 stars 67 forks source link

Source select FM / Tuner not working on Marantz NR1603 #91

Closed willemlj closed 5 years ago

willemlj commented 5 years ago

Selecting any source other than FM/Tuner works without any problem. The custom name for the source is displayed as well.

In the source list the (analogue) radio is displayed as 'FM'. It seems this is also send to the receiver as the source name. This does not work. The expected source name is 'TUNER'.

A fix is to add a source mapping like this:

SOURCE_MAPPING = {"TV AUDIO": "TV", "iPod/USB": "USB/IPOD", "Bluetooth": "BT", "Blu-ray": "BD", "CBL/SAT": "SAT/CBL", "NETWORK": "NET", "Media Player": "MPLAY", "AUX": "AUX1", "Tuner": "TUNER", "FM": "TUNER" }

ol-iver commented 5 years ago

Fixed in version 0.7.10

willemlj commented 5 years ago

Thanks for the fix and the great work on this HASS extension!

ol-iver commented 5 years ago

you are welcome :-)