JohNan / homeassistant-wellbeing

Get the status from your Electrolux devices connected to Wellbeing
MIT License
75 stars 20 forks source link

BR: Error when trying to add integration #2

Closed rasssta closed 3 years ago

rasssta commented 3 years ago

I've installed via HACS and restarted HASS.

When I try to add the Wellbeing integration I get the following error message in the Web UI:

"Config flow could not be loaded"

home-assistant.log:

2021-05-14 20:15:34 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration wellbeing: cannot import name 'ConfigEntryAuthFailed' from 'homeassistant.exceptions' (/srv/homeassistant/lib/python3.8/site-packages/homeassistant/exceptions.py)

rasssta commented 3 years ago

manifest.json contain: "version": "v0.0.0"

...when version is v0.0.1

rasssta commented 3 years ago

Seems like the config issue was related to some missing features in 2021.4.6, it works fine in 2021.5.3 :)

JohNan commented 3 years ago

@rasssta so all good? Can the issue be closed?

rasssta commented 3 years ago

It works for me. Version is still wrong in a couple of places.

https://github.com/JohNan/homeassistant-wellbeing/blob/1cfc48e518d5ea4446590c0fb40501c39959005a/custom_components/wellbeing/manifest.json#L11 https://github.com/JohNan/homeassistant-wellbeing/blob/32b20d598f1e80263c20fb56bf2d3fdb87932b9a/custom_components/wellbeing/const.py#L6 https://github.com/JohNan/homeassistant-wellbeing/blob/580bbd4366aea1be3beef9d7d0f5574ca23e2b01/manage/update_manifest.py#L9

And hacs.json should be updated to state HASS 2021.5.0 as minimum version I guess?

https://github.com/JohNan/homeassistant-wellbeing/blob/main/hacs.json#L6

JohNan commented 3 years ago

Thanks. I'll update it after the weekend!

eulvik commented 3 years ago

I had exactly the same problem. Disappeared after upgrading to latest Home Assistant version.

JohNan commented 3 years ago

Should be fixed in https://github.com/JohNan/homeassistant-wellbeing/releases/tag/v0.0.2