Ecowitt Weather Station integration dont work after update Home Assistant 2023.5.1

Ecowitt Weather Station integration dont work after update Home Assistant 2023.5.1
Worked fine with Home Assistant 2023.5.0

Error :
Config flow could not be loaded: {“message”:“Invalid handler specified”}

How is this a feature request?

Are you using a custom component or the builtin?

Have you searched the release thread?

Logger: homeassistant.setup
Source: setup.py:214
First occurred: May 5, 2023 at 21:47:20 (1 occurrences)
Last logged: May 5, 2023 at 21:47:20

Setup failed for custom integration ecowitt: Unable to import component: cannot import name ‘async_get_registry’ from ‘homeassistant.helpers.entity_registry’ (/usr/src/homeassistant/homeassistant/helpers/entity_registry.py)

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

12 Likes

Worked perfectly. Thanks alot.

Same issue and this fix worked for me too, thanks!

Great advice - thanks! Just to add the name of the file to edit though, it’s _ init _.py’ :slight_smile:

3 Likes

I have try but I have this error ,did you know a fix?

The configuration stream could not be loaded: {“message”:“Invalid handler specified”}

Hey Kathou99,

using in HomeAssistant a file editor (maybe Studio Code Editor) and go to follow path: /config/custom_components/ecowitt
Open file init.py
On line 21 remove async_get_registry as async_get_entity_registry, and paste async_get as async_get_entity_registry
At least save file and restart HomeAssistant

2 Likes