RainerStaude / hass-becker-component-plus-pybecker

A native home assistant component to control becker RF shutters with a Becker Centronic USB Stick.
MIT License
44 stars 3 forks source link

Error importing platform config_flow from integration becker #19

Open NorbertBauer opened 1 year ago

NorbertBauer commented 1 year ago

I always get an error at least after reboot, that something cannot be loaded.


Logger: homeassistant.config_entries Source: config_entries.py:363 First occurred: 1:46:27 PM (1 occurrences) Last logged: 1:46:27 PM

Error importing platform config_flow from integration becker to set up becker configuration entry: No module named 'custom_components.becker.config_flow'

Do you know this and can I change something to resolve the issue?

Thanks Norbert

RainerStaude commented 1 year ago

I don't see this issue on my setup.

Please provide more information. Which HA version are you using? Are you using the latest version from here? How did you install it? Using HACS? You can use the three dot menu and choose redownload. Then select the latest version v0.3.0.

Anyway the becker component doesn't use config flow for configuration (as it is configured by YAML and not via the user interface). Therefore this error is correct, but shouldn't be there.

NorbertBauer commented 1 year ago

Had it all the time in the past, when I manually downloaded it to the custom_components folder I switched to HACS today, but the error shows up all the time. Changed to 0.3.0 now, and the same error show up in the log.

HA Version 2023.3.2 running in HAOS on RaspPi4

btw it was always and is working and all my becker devices can be controlled.

RainerStaude commented 1 year ago

I have no idea why this happens. Can you check your custom_components folder if there are two different becker folders . The config flow is enabled if the config_flow key is set to true in the manifest.json. But this is not the case for becker. I even tried to set this key but did not get an error.

NorbertBauer commented 1 year ago

no, there is only one becker folder and the hacs folder. but why does the manifest.json shows version 2.0 even when I redownload version 3.0

RainerStaude commented 1 year ago

That's my mistake. I forgot to change the version in the manifest. HACS shows the version from the GitHub Tag.