-
Notifications
You must be signed in to change notification settings - Fork 7
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
No media entity is created #64
Comments
I noticed the same issue after update to Homassistant core 2024.6 with 2024.5.x all was working fine. I am running HA on a VM and have reverted to version 2024.5. |
But this cant be the solution... |
No that is something else , the issue here seems to be that the home assistant team has already started to phase out the function used and the new way to call the registry needs to be implemented.Saw the same error with other integrations that use this function. |
Is that something we could change ourselves in one of the .py files or does it need action from the developer? |
as i was using this as well and tried a lot to get it running - no success - i found a real cool HA intergration -> https://music-assistant.io/integration/ - i use this now and it works great with the RaumFeld speakers - i used the UPnP/DLNA Provider and the HA integration is really good and on my node-red workflows i only needed to change the entity id's... |
See my comment in the other thread. Probably this may help you :) |
Hi there,
seemingly I am suffering from the same issue as here.
I was using this component frequently the last weeks, when all of a sudden it stopped working. I checked HA didnt find nothing, redownloaded the component and reconfigured and figured out that my host is recognised. 2 Devices are recognised (seems correct as I have an Teufel S and Teufel M) but only 6 entities are created. Per device this is :
Powerstate
Softwareversion
Updateinfoversion
No media entity is created, no zone no nothing. I enabled logging and this is the error I'm getting when reloading the integration:
`Logger: homeassistant.components.media_player
Source: helpers/entity_platform.py:366
integration: Media player (documentation, issues)
First occurred: 08:30:20 (1 occurrences)
Last logged: 08:30:20
Error while setting up teufel_raumfeld platform for media_player
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/teufel_raumfeld/media_player.py", line 148, in async_setup_entry
entity_registry = hass.helpers.entity_registry.async_get(hass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: async_get() takes 1 positional argument but 2 were given
`
I tried to reproduce the solution but the code seems fixed from back in the days, furthermore the errormessage is different this time.
anybody an idea of how to fix this?
thanks in advance
The text was updated successfully, but these errors were encountered: