Denon CEOL RCD-N9 integration gives errors

I’m trying to setup my Denon CEOL RCD-N9 using the Denon Network Reciever integration. This is the configuration in the configuration.yaml:

 media_player:
  - platform: denon
    host: 192.168.1.102
    name: denonstudeerkamer
  - platform: denon
    host: 192.168.1.85
    name: denonwoonkamer

I get the following errors in the log:

2019-11-03 15:55:29 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform denon
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 442, in wait_for
return fut.result()
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/components/denon/media_player.py”, line 85, in setup_platform
if denon.update():
File “/usr/src/homeassistant/homeassistant/components/denon/media_player.py”, line 174, in update
self._mediasource = self.telnet_request(telnet, “SI?”)[len(“SI”) :]
File “/usr/src/homeassistant/homeassistant/components/denon/media_player.py”, line 139, in telnet_request
lines.append(line.decode(“ASCII”).strip())
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe8 in position 14: ordinal not in range(128)

Any ideas how to fix this issue?

I got one Denon working by (I think!) changing the name in the configuration.yaml to the “friendly name” I gave it: “Denon CEOL”. This Denon now shows up as media_player.denon_ceol.

The second Denon still doesn’t show up at all. Any clues?

media_player:
  - platform: denon
    host: 192.168.1.102
    name: Denon Stud
  - platform: denon
    host: 192.168.1.85
    name: Denon CEOL

The problem automagically solved itself (after the update to 0.101.3, but that’s probably a coincidence). I know see both Denon’s as media players.

Support for the Denon CEOL RCD-N9 is not very satifying (PWON & PWSTANDBY are working, not much else) but that’s for another day.