Closed gllmlbrt closed 1 year ago
After I upgraded to 2023.2.0 I got the same issue
Also trie to remove the plugion from HACS, and reinstalling it. When loading it as an integration in home assistant I get the following error message:
Error Config flow could not be loaded: {"message":"Invalid handler specified"}
I will look into this issue this week. It's probably an issue with the manifest file.
Simple fix is to replace module 'pymodbus.client.sync' with 'pymodbus.client' in config_flow.py
Simple fix is to replace module 'pymodbus.client.sync' with 'pymodbus.client' in config_flow.py
I can confirm this fixes the issue.
Hello,
Wanted to take the fresh 2022.2.0b1 today, after installing it i get the following error:
So the integration does not load.
Tried redownloading the custom integration, and restart again, but not improvement. Reverted to 2023.1.7 and it works again just fine.
Do you know of a major change of pymodbus in the upcoming HA updates ? I could find similar issues reported in earlier upgrade of HA here: https://github.com/WillCodeForCats/solaredge-modbus-multi/issues/162
And I can see that in 2022.2, core pymodbus bumped to 3.1.1. https://github.com/home-assistant/core/pull/86513 I will try to change that in the manifest and see if that works.
Not sure if it is the same reason. Also home assistant now requires python 3.10 minimum, not sure if related.