Open sns5400 opened 11 months ago
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.
Fine to here you found a solution but wich file you edit, there are: init.py; binary_sensor.py; config_flow.py; const.py; manifest.json; sechema.py; sensor.py; translation.py
Thank you in advance
On Mon, 14 Aug 2023 at 14:56, stiltjack @.***> wrote:
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 https://github.com/mortenx in HA Forum.
— Reply to this email directly, view it on GitHub https://github.com/garbled1/homeassistant_ecowitt/issues/160#issuecomment-1677264792, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADD3AAVUMSJEC2ETQFZ457TXVIN63ANCNFSM6AAAAAA3PO5AOA . You are receiving this because you authored the thread.Message ID: @.***>
Sorry.
__init__.py
Thanks for info but still not complete. In the configuration text there is:
Ecowitt should now appear as a card under the HA Integrations page with "Options" selection available at the bottom of the card.
Have you the options menu ?
On Mon, 14 Aug 2023 at 20:20, stiltjack @.***> wrote:
Sorry.
init.py
— Reply to this email directly, view it on GitHub https://github.com/garbled1/homeassistant_ecowitt/issues/160#issuecomment-1677849645, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADD3AAXEF36MO2MU4ODSB33XVJT63ANCNFSM6AAAAAA3PO5AOA . You are receiving this because you authored the thread.Message ID: @.***>
Cards on the integrations page changed a couple of months ago. The latest looks like this:
To get the options menu, click on > then on configure.
its fixid thank to your input, i check again my phone app and protocol whas not ecowitt afther changing to ecowitt everything ok [image: working 2023-08-15_9-23-24.png]
On Mon, 14 Aug 2023 at 20:38, stiltjack @.***> wrote:
Cards on the integrations page changed a couple of months ago. The latest looks like this: [image: image] https://user-images.githubusercontent.com/67193733/260541367-c145022f-0ac2-4655-a487-9ec250da4cab.png To get the options menu, click on > then on configure.
— Reply to this email directly, view it on GitHub https://github.com/garbled1/homeassistant_ecowitt/issues/160#issuecomment-1677873496, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADD3AARL4WSVI64OFSQE423XVJWATANCNFSM6AAAAAA3PO5AOA . You are receiving this because you authored the thread.Message ID: @.***>
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'
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?