Closed brgerig closed 3 years ago
@raman325 you think we would be able to fix this by adding ozwavemqtt
to the requirements in the mainfest.json?
I don't know if the manifest.json is something that applies on install from HACS, or if it's when adding the integration to HA, but adding that requirement didn't fix the problem for me.
However, I did go through all the files and remove all the ozw and zwave stuff, and only left the zwave_js, and now I can add the integration. I know that obviously isn't a general fix, but it worked in my situation.
@brgerig technically the package to install is python-openzwave-mqtt
It looks like that package is already installed, so not sure. Now that I ran the initial setup, I was able to re-download the original code, and I don't get that error anymore. I can even reconfigure from options, so I don't know if maybe some other packages finally got installed on an HA restart, or what.
It is possible HA wasn't finished downloading libraries from PyPi when you attempted to run the config.
I think you may be right. I deleted the integration, uninstalled it from HACS, and reinstalled and re-added. Config flow worked perfectly fine. I'll go ahead and call this closed.
Describe the bug When adding the integration, it fails and displays the error message: "Config flow could not be loaded." In the home-assistant.log is the error:
2021-03-08 15:16:58 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration keymaster: No module named 'openzwavemqtt'
Environment (please complete the following information):
Logs
2021-03-08 15:16:58 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration keymaster: No module named 'openzwavemqtt'
Screenshots None
Additional context Installed from HACS. Using zwavejs2mqtt.