Installation do not work
sns5400 opened this issue ยท 8 comments
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?
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.
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.
Sorry.
__init__.py
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'