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

Error setting up entry for hifiberry due to AttributeError #27

Closed
jacobwod opened this issue May 5, 2023 · 1 comment
Closed

Error setting up entry for hifiberry due to AttributeError #27

jacobwod opened this issue May 5, 2023 · 1 comment

Comments

@jacobwod
Copy link

jacobwod commented May 5, 2023

As of yesterday the integration fails to initiate and I'm seeing this in the log:

2023-05-05 13:48:40.837 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 192.168.1.110 for hifiberry
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/hifiberry/__init__.py", line 31, in async_setup_entry
    hass.config_entries.async_setup_platforms(entry, PLATFORMS)
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

I verified that nothing has changed on the HifiBerry itself, the OS version is on 20230404.

I also verified that /etc/audiocontrol2.conf hasn't changed and that it still has the relevant lines:

[webserver]
enable = yes
port = 81
authtoken={foobar}
socketio_enabled=True

The device plays fine and shows up in Roon as an endpoint as usual. The Roon HA integration also sees the device, so that part is fine. But the "standard" media_player entity provided by this integration is missing, as it fails to initiate.

Anyone else seeing this? Any ideas what I can check?

@jacobwod
Copy link
Author

jacobwod commented May 5, 2023

OK, I saw the PR #25 now…

@jacobwod jacobwod closed this as completed May 5, 2023
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

1 participant