#Alexa Media Player: unexpected keyword argument 'config_entry'

1 messages · Page 1 of 1 (latest)

viscid oar
#

How do I resolve this error that keeps showing up in my logs? I'm running:

Core: 2024.4.1
Frontend: 20240404.1
Device: Raspberry Pi 4B

Logger: homeassistant.config_entries
Source: config_entries.py:551
First occurred: 8:26:54 AM (1 occurrences)
Last logged: 8:26:54 AM

Error setting up entry user@host.com - amazon.com for alexa_media
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/config_entries.py", line 551, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.homeassistant/custom_components/alexa_media/init.py", line 798, in async_setup_entry
await setup_alexa(hass, config_entry, login)
File "/home/homeassistant/.homeassistant/custom_components/alexa_media/init.py", line 2883, in setup_alexa
coordinator = AlexaMediaCoordinator(
^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.homeassistant/custom_components/alexa_media/coordinator.py", line 71, in init
super().init(
TypeError: DataUpdateCoordinator.init() got an unexpected keyword argument 'config_entry'

night tulip
#

That is quite the old version you've got there

#

I'd recommend planning to get your instance upgraded

#

I imagine your Alexa Media Player version is "too new" for your HA Core version, though

viscid oar
#

I rolled it back in HACS to v5.14.0 and restarted. Problem solved.

#

v5.15.0 brought the TypeError for config_entry reference shown.