Denon AVR integration errors

I have two Denon AVR on the network and they were auto discovered. Completed the config and there are no errors on the integration page.

However when I check the logs there are various issues.

I’m on the latest core and OS 6.1

System Health

version: core-2022.4.3
installation_type: Home Assistant OS
dev: false
hassio: true
docker: true
user: root
virtualenv: false
python_version: 3.9.9
os_name: Linux
os_version: 5.10.45
arch: x86_64
timezone: Australia/Melbourne


GitHub API: ok
GitHub Content: ok
GitHub Web: ok
GitHub API Calls Remaining: 4964
Installed Version: 1.24.4
Stage: running
Available Repositories: 1100
Downloaded Repositories: 2


logged_in: false
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok


host_os: Home Assistant OS 6.1
update_channel: stable
supervisor_version: supervisor-2022.04.0
docker_version: 20.10.6
disk_total: 30.8 GB
disk_used: 6.4 GB
healthy: true
supported: true
board: ova
supervisor_api: ok
version_api: ok
installed_addons: Node-RED (11.1.1), Studio Code Server (4.2.0), TasmoAdmin (0.17.0), Mosquitto broker (6.0.1), Samba share (9.5.1), Terminal & SSH (9.3.0)


dashboards: 1
resources: 0
mode: auto-gen


api_endpoint_reachable: ok
Logger: homeassistant.components.denonavr.media_player
Source: components/denonavr/media_player.py:242
Integration: Denon AVR Network Receivers (documentation, issues)
First occurred: 1:28:54 AM (100 occurrences)
Last logged: 1:32:55 AM

Error Returned document contains HTML occurred in method async_update for Denon AVR receiver
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/asyncstdlib/_lrucache.py", line 408, in __call__
    result = self.__cache[key]
KeyError: <asyncstdlib._lrucache.CallKey object at 0x7fdb7184eeb0>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/denonavr/media_player.py", line 189, in wrapper
    return await func(self, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/components/denonavr/media_player.py", line 242, in async_update
    await self._receiver.async_update_audyssey()
  File "/usr/local/lib/python3.9/site-packages/denonavr/denonavr.py", line 203, in async_update_audyssey
    await self.audyssey.async_update()
  File "/usr/local/lib/python3.9/site-packages/denonavr/audyssey.py", line 79, in async_update
    await self.async_update_audyssey(
  File "/usr/local/lib/python3.9/site-packages/denonavr/audyssey.py", line 88, in async_update_audyssey
    await self.async_update_attrs_appcommand(
  File "/usr/local/lib/python3.9/site-packages/denonavr/foundation.py", line 522, in async_update_attrs_appcommand
    xml = await self._device.api.async_post_appcommand(
  File "/usr/local/lib/python3.9/site-packages/denonavr/decorators.py", line 96, in wrapper
    return await func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/asyncstdlib/_lrucache.py", line 411, in __call__
    result = await self.__wrapped__(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/denonavr/decorators.py", line 44, in wrapper
    return await func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/denonavr/api.py", line 166, in async_post_appcommand
    self.check_xml_validity(request, xml_root)
  File "/usr/local/lib/python3.9/site-packages/denonavr/api.py", line 246, in check_xml_validity
    raise AvrInvalidResponseError(
denonavr.exceptions.AvrInvalidResponseError: Returned document contains HTML

further down the log I have further errors related to the Denon AVR

Logger: homeassistant.components.denonavr.media_player
Source: components/denonavr/media_player.py:240
Integration: Denon AVR Network Receivers (documentation, issues)
First occurred: 1:28:54 AM (50 occurrences)
Last logged: 1:32:55 AM

Error Not all attributes updated, those are left: {'_power': AppCommandCmd(cmd_id='1', cmd_text='GetAllZonePowerStatus', name=None, param_list=None, set_command=None, response_pattern=(AppCommandResponsePattern(update_attribute='_power', add_zone=True, suffix='', get_xml_attribute=None),))} occurred in method async_update for Denon AVR receiver
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/denonavr/media_player.py", line 189, in wrapper
    return await func(self, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/components/denonavr/media_player.py", line 240, in async_update
    await self._receiver.async_update()
  File "/usr/local/lib/python3.9/site-packages/denonavr/denonavr.py", line 170, in async_update
    await self._device.async_update(global_update=True, cache_id=cache_id)
  File "/usr/local/lib/python3.9/site-packages/denonavr/foundation.py", line 127, in async_update
    await self.async_update_power(
  File "/usr/local/lib/python3.9/site-packages/denonavr/foundation.py", line 356, in async_update_power
    await self.async_update_power_appcommand(
  File "/usr/local/lib/python3.9/site-packages/denonavr/foundation.py", line 411, in async_update_power_appcommand
    raise AvrProcessingError(
denonavr.exceptions.AvrProcessingError: Not all attributes updated, those are left: {'_power': AppCommandCmd(cmd_id='1', cmd_text='GetAllZonePowerStatus', name=None, param_list=None, set_command=None, response_pattern=(AppCommandResponsePattern(update_attribute='_power', add_zone=True, suffix='', get_xml_attribute=None),))}

Do you have the latest firmware on your Denons?

One of them had an older firmware. Upgraded but still throws these errors. The AVRs were auto discovered and I can’t find anything in configuration.yaml. Should I delete the integrations and add them via configuration.yaml?

I have this error too. Do you solved this problem?

Got the same since very beginning Denon AVR X2000. I’ve opened an issue here: