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

Installation do not work #160

Open
sns5400 opened this issue Aug 14, 2023 · 8 comments
Open

Installation do not work #160

sns5400 opened this issue Aug 14, 2023 · 8 comments

Comments

@sns5400
Copy link

sns5400 commented Aug 14, 2023

i try to install Ecowitt and follow your installation text.
In HACS integration view no "options" menu on card.
In integration and devices search for ecowitt error "config flow cold not be loaded, invalid handler specified.
In log:

Error occurred loading flow for integration ecowitt: cannot import name 'async_get_registry' from 'homeassistant.helpers.entity_registry' (/usr/src/homeassistant/homeassistant/helpers/entity_registry.py)

Any idee how to fix this?

@stiltjack
Copy link

stiltjack commented Aug 14, 2023

Same problem here.

`Logger: homeassistant.config_entries
Source: config_entries.py:865
First occurred: 13:26:04 (2 occurrences)
Last logged: 13:26:16

Error occurred loading flow for integration ecowitt: cannot import name 'async_get_registry' from 'homeassistant.helpers.entity_registry' (/usr/src/homeassistant/homeassistant/helpers/entity_registry.py)`

I had the Ecowitt Weather Station integration running successfully until yesterday - foolishly removed it to try the "official" integration. I get the same error for that as well.

Home Assistant 2023.8.2
Supervisor 2023.08.1
Operating System 10.4
Frontend 20230802.0 - latest

Edit: Sorry, I see this is a duplicate.

@stiltjack
Copy link

Found the solution:

Using HA file editor, go to “/config/custom_components/ecowitt/”
Edit line 21 to " async_get as async_get_entity_registry,"
Save file.

Thanks to @mortenx in HA Forum.

@sns5400
Copy link
Author

sns5400 commented Aug 14, 2023 via email

@stiltjack
Copy link

stiltjack commented Aug 14, 2023

Sorry.

__init__.py

@sns5400
Copy link
Author

sns5400 commented Aug 14, 2023 via email

@stiltjack
Copy link

Cards on the integrations page changed a couple of months ago. The latest looks like this:
image
To get the options menu, click on > then on configure.

@sns5400
Copy link
Author

sns5400 commented Aug 15, 2023 via email

@jiclausen
Copy link

jiclausen commented Dec 27, 2023

i am getting this error

Logger: homeassistant.config_entries
Source: config_entries.py:402
First occurred: 22.33.52 (5 occurrences)
Last logged: 22.38.24

Error setting up entry Ecowitt for ecowitt
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/ecowitt/init.py", line 155, in async_setup_entry
ws = EcoWittListener(port=entry.data[CONF_PORT])
~~~~~~~~~~^^^^^^^^^^^
KeyError: 'port'

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

3 participants