-
Notifications
You must be signed in to change notification settings - Fork 34
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
setting up fails #601
Comments
Same here with 0.0.29. Downgrading back to 0.0.28 works |
The solution here seems to solve it : https://github.com/music-assistant/hass-music-assistant/issues/3152#issuecomment-2470393980 Although I had to delete my /config/deps/asyncio folder a second time after upgrading to 0.0.29 to get HA to start |
Thanks.
Op wo 13 nov 2024, 10:32 p.m. schreef Kevin Lemonnier <
***@***.***>:
… The solution here seems to solve it : music-assistant/hass-music-assistant#3152
(comment)
<https://github.com/music-assistant/hass-music-assistant/issues/3152#issuecomment-2470393980>
Although I had to delete my /config/deps/asyncio folder a second time
after upgrading to 0.0.29 to get HA to start
—
Reply to this email directly, view it on GitHub
<#601 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACN4RHTLB4DIVQDMRYCVJCD2APAPRAVCNFSM6AAAAABRA3SFKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZUHAZTINJVGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
How come no-one else is seeing this apparent conflict, or is this just a lack of knowledge, finger trouble or conflicts with other HA installations? It's not an integration issue and should be closed. |
From other issues, it seems to be an issue with upstream HA's new dependency management through uv installing stuff in the wrong place. |
I moved to an entire new HA-OS instance on a virtual machine which I intended to do anyhow. This fixed the problem and I was able to use 0.29. When I exported the configuration and imported it on the destination machine (also a KVM VM) version 0.29 gave he same error. Reverting it to 0.28 fixed the problem. |
You need to set that env var, the deps are being installed in the wrong place without it |
In ha-os you can install myenrgi from HACS after adding the repository. No need for any manual configuration. I cannot find the /config/deps/asyncio anywhere. Upgrading 0.28 to 0.29 from the ha gui gives the same error again. Reverting to the snapshot I made of the VM before the upgrade fixed it again. |
As far as I know the issue is the same regardless of what you run it on, you need that env var because HA core installs the deps in one place and uses them in a different place. Anyway, unrelated to this project, it's a core issue |
Ok, thanks for the clarification.
Op vr 15 nov 2024, 2:35 p.m. schreef Kevin Lemonnier <
***@***.***>:
… As far as I know the issue is the same regardless of what you run it on,
you need that env var because HA core installs the deps in one place and
uses them in a different place.
It'll install, but the integration won't load
Anyway, unrelated to this project, it's a core issue
—
Reply to this email directly, view it on GitHub
<#601 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACN4RHXDKPMOZ2BZ7ITPRZ32AX2C7AVCNFSM6AAAAABRA3SFKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZYHAZDQNRQG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Version of the custom_component
version 0.0.29
Configuration
Add your logs here.
Describe the bug
After adding the integration in HA using HACS and I can succesfully add my hub but I get an error message "no devices or entities" "setup failed"
It used to work, probably stopped after an update. Tried to remove and re-install several times to no avail.
Debug log
Logger: homeassistant.config_entries
Bron: config_entries.py:594
Eerst voorgekomen: 20:29:41 (1 gebeurtenissen)
Laatst gelogd: 20:29:41
Error setting up entry Hub_12154946 for myenergi
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/myenergi/init.py", line 54, in async_setup_entry
conn = await hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Connection.init() takes from 1 to 6 positional arguments but 7 were given
The text was updated successfully, but these errors were encountered: