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 on clean install of latest HA OS #166

Open
minosrex opened this issue Jun 21, 2024 · 3 comments
Open

Error on clean install of latest HA OS #166

minosrex opened this issue Jun 21, 2024 · 3 comments
Labels
Waiting for feedback Further information is requested

Comments

@minosrex
Copy link

Hi. I just installed the latest version of HA OS (2024.6.3), and copied over the settings from a running container version (2024.6.0).

I however get the following error:

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/nhc2_backup_2/init.py", line 134, in async_setup_entry
dev_reg = hass.helpers.device_registry.async_get(hass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: async_get() takes 1 positional argument but 2 were given

NHC2 still runs fine in the containered version. What could be the issue?

@joleys
Copy link
Owner

joleys commented Jun 24, 2024

Are you using the latest version of the integration?

@minosrex
Copy link
Author

Yes: version": "v4.3.4"

@tijsverkoyen
Copy link
Collaborator

Is there a reason why the component is installed in /config/custom_components/nhc2_backup_2? Could it be that this is a backup that should not be used?

@tijsverkoyen tijsverkoyen added the Waiting for feedback Further information is requested label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Waiting for feedback Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants