With Home Assistant version 217 the Denon integration seems to have an issue. My Denon AVR receiver entity is no longer available. The log says:
No SoundMode found for the main zone Main
13:57:26 – components/denonavr/media_player.py (ERROR)
Error while setting up denonavr platform for media_player
13:57:29 – Mediaplayer (ERROR)
Details of “Error while setting up denonavr platform for media_player”
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, 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/denonavr/media_player.py", line 150, in setup_platform
add_zones=add_zones,
File "/usr/local/lib/python3.7/site-packages/denonavr/denonavr.py", line 319, in __init__
self._get_support_sound_mode()
File "/usr/local/lib/python3.7/site-packages/denonavr/denonavr.py", line 766, in _get_support_sound_mode
return self._get_support_sound_mode_avr()
File "/usr/local/lib/python3.7/site-packages/denonavr/denonavr.py", line 786, in _get_support_sound_mode_avr
relevant_tags = self._get_status_from_xml_tags(root, relevant_tags)
File "/usr/local/lib/python3.7/site-packages/denonavr/denonavr.py", line 1244, in _get_status_from_xml_tags
self._sound_mode_raw = child[0].text.rstrip()
AttributeError: 'NoneType' object has no attribute 'rstrip'