-
Notifications
You must be signed in to change notification settings - Fork 13
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
Replace current async_setup_platforms function with async_forward_ent… #7
base: main
Are you sure you want to change the base?
Conversation
Fixed an error 'ConfigEntries' object has no attribute 'async_setup_platforms', which was caused by an deprecated feature which will prevent the integration failing to start in Home Assistant 2023.5+
How can I use this commit in my HomeAssistant? |
I don’t think you can, since the commit has to be merged by the author. The author hasn’t been active in a few months. I’d suggest you change the init-file manually in Home Assistant, which is what I did.
…On 12 May 2023 at 18:34 +0200, Istvan Szabo ***@***.***>, wrote:
How can I use this commit in my HomeAssistant?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Thank you! It worked for me. |
Thank you! Worked for me also. |
Thank you for this fix! Works like a charm! |
Thanks for the effort, works fine! |
Hi Danny, DannyNyops thanks! Works great! Home Assistant 2023.5.4 |
Works for me! Thank you! |
Is this going into the latest homeassistant anytime soon? |
You saved my day! thanks for the fix! |
Excellent, this worked well. Just remember that if you already have a failed setup, delete the failed item, edit the init file as suggested then remember to RESTART home assistant then you can add the device successfully. |
Can anyone confirm if they are using HA versions 5.x or higher with this integration? I keep getting critical errors when using anything above 4.6. |
I'm using it fine with 7.3 once I modified the init as suggested.
…On Mon, 31 Jul 2023, 20:57 R J, ***@***.***> wrote:
Can anyone confirm if they are using HA versions 5.x or higher with this
integration? I keep getting critical errors when using anything above 4.6.
I want to switch to 7.x , but this integration is getting more and more in
the way.
—
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AR52CCNPHAWJK5OY4CS75DTXTAE2LANCNFSM6AAAAAAX5ECLHI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Great, thanks for the confirmation. After that, the integration seems to work again. I do keep some errors though:
|
For what it's worth, installing HACS, then this custom repo, followed by manually editing the init.py file described in the Commit is the FIRST TIME I've been able to get data into HA from my Enphase system. |
Fixed an error 'ConfigEntries' object has no attribute 'async_setup_platforms', which was caused by an deprecated feature which will prevent the integration failing to start in Home Assistant 2023.5+
The function async_setup_platforms has been replaced.
Logger: homeassistant.config_entries
Source: custom_components/enphase_envoy/init.py:131
Integration: Enphase Envoy (DEV)
First occurred: 20:53:37 (1 occurrences)
Last logged: 20:53:37
Error setting up entry Envoy
for enphase_envoy
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/enphase_envoy/init.py", line 131, in async_setup_entry
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'