-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fix attribute errors #38
Conversation
I don't think this fix should be required, perhaps it was with an older version of python-evnex? I just tried with the latest homeassistant docker image and |
I can't use evnex >=0.4 due to a pip dependency conflict. My HA pydantic is still on 1.10.15 in docker HA 2024.6.2 and I'm getting still getting the attribute error. Is it likely the two are related? |
@hardbyte, looks like it is pydantic version related as forcing pydantic version to be >=2 gets rid of attribute error. Only problem is a number of other integrations are not yet supporting V2... |
Yeah its not an ideal situation at all. If you like you could branch off the last working 0.4.x version and create a new release that targets the older pydantic. |
Thanks, my HA install is now sorted. Hopefully the HA devs migrate to v2 soon. |
Yes the charger is back online BUT I no longer can control the maximum current. I use this to charge the battery at the lowest possible amps. |
@sydney2711 @drc38 Interim fix: #36 (comment) |
@hardbyte, something appears to have changed meaning the dot notation doesn't work for dicts in recent versions of HA. Fixes #36