-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{"message":"Invalid handler specified"} #2
Comments
I see you just recently changed some directory name. According to below post, the error might be related to that. https://community.home-assistant.io/t/error-adding-integration/485237/16 |
More specific log entry: Error occurred loading flow for integration sungrow: cannot import name 'Defaults' from 'pymodbus.constants' (/usr/local/lib/python3.11/site-packages/pymodbus/constants.py) |
Domain and directory name are both "sungrow" so it shouldn't be that.
That would indicate that it's a version problem with pymodbus. Do you have the addon from https://github.com/bohdan-s/hassio-repository installed still? |
No, don't have it installed. Very strange if it works for others. |
I installed a fork of bohdan’s Hassio addon, which tried to solve the issue by allowing to “break system” related to some python stuff. Perhaps that might have something to do with it? Any idea how I might unbreak what it broke, or is it straight to restoring from backup? |
|
Are you running the Home Assistant OS, or did you install Home Assistant yourself on some existing OS? If it's the latter, run If you're running Home Assistant OS, I've never accessed the core filesystem. They have a pretty complicated storage setup. I'd have to look into that. |
Thanks. Unfortunately it’s the former! |
I have no Also: |
If I try to |
Is there any easy way to turn the integration into something that might be run in AppDaemon instead? In AD I can load all the needed requirements. |
I'm not able to reproduce this at all, and I'm out of ideas as to how to fix it. Try posting a question on https://community.home-assistant.io/ and see if anyone there has any ideas. Maybe they'll at least know how to pull some useful debugging info for this problem. |
If you're still having trouble, maybe give @AlexanderLanin 's fork a try. That will probably become the official version anyway. |
Appreciate the work. I can’t load config flow however. Getting the above error message.
Cheers
The text was updated successfully, but these errors were encountered: