Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home Assistant 2024.7.0 - wiim_custom - unexpected keyword argument #22

Open
GitIt-GotIt opened this issue Jul 4, 2024 · 4 comments
Open

Comments

@GitIt-GotIt
Copy link

GitIt-GotIt commented Jul 4, 2024

Anyone else get this after updating HomeAssistant to 2024.7.0? I am running the beta wiim_custom buile (2024.5.0 async setup)
Thanks

Logger: homeassistant.components.media_player
Source: helpers/entity_platform.py:364
integration: Media player (documentation, issues)
First occurred: 1:12:19 PM (1 occurrences)
Last logged: 1:12:19 PM

Error while setting up wiim_custom platform for media_player
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 364, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/wiim_custom/media_player.py", line 206, in async_setup_platform
wiim = WiiMDevice(name,
^^^^^^^^^^^^^^^^
File "/config/custom_components/wiim_custom/media_player.py", line 230, in init
self._factory = UpnpFactory(requester, disable_unknown_out_argument_error=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: UpnpFactory.init() got an unexpected keyword argument 'disable_unknown_out_argument_error'

@jiruss
Copy link

jiruss commented Jul 4, 2024

Yes. I am getting it as well. I was trying the beta to fix issue #19 and now I am getting this.

@JasonOggy
Copy link

Mee to. So is LINKPLAY nagyrobi#145

@GitIt-GotIt
Copy link
Author

Good find. Comment out line 230 in media_player.py duplicate it leaving out ", disable_unknown_out_argument_error=True" and restart home assistant. Component then starts. I did get an xml parse error in the home-assistant.log, but when i ran the WIIM app directly it was angry too. i restarted the WIIM and things seem back to normal now

self._factory = UpnpFactory(requester)
image

@fredR142
Copy link

fredR142 commented Jul 5, 2024

Thanks , fixed mine too !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants