Erwin033
(Erwin)
August 15, 2023, 3:25pm
1
Dear all,
I’m trying to set up my Enphase Envoy solar system, but I’m recieving an error which I can’t explane.
I know about the issues with the 7.X.X firmware, so I installed a package due HACS (GitHub - gtdiehl/EnphaseEnergy: Various collected information about Enphase Energy solar system )
After installing I see this error:
Logger: homeassistant.config_entries
Source: custom_components/enphase_envoy/__init__.py:131
Integration: Enphase Envoy (DEV)
First occurred: 14:43:00 (6 occurrences)
Last logged: 17:05:09
Error setting up entry Envoy 122XXXXXX for enphase_envoy
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 388, 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'
Does anybody have an idea how to fix this?
Many thanks in advance!
koying
(Chris B)
August 15, 2023, 4:43pm
2
That custom integration must be updated.
async_setup_platforms
was finally removed in 2023.5 (I think)
Edwin_D
(Edwin D.)
August 15, 2023, 8:25pm
3
I’m using this one, it works fine for me:
Erwin033
(Erwin)
August 17, 2023, 3:01pm
4
Many thanks for your help guys.
I changed the installation to the version of braincmpbll, and changed line 131 of /config/custom_components/enphase_envoy/init .py to hass.config_entries.async_forward_entry_setups.
But I integration is stil getting an error, showing:
Logger: homeassistant.config_entries
Source: config_entries.py:1250
First occurred: 16 augustus 2023 om 22:54:49 (21 occurrences)
Last logged: 16:43:35
Config entry 'Envoy 1XXXXX' for enphase_envoy integration not ready yet; Retrying in background
I let it run for 24 hours, but I didn’t solve the problem.
Anyone how could help me with this issue?
Edwin_D
(Edwin D.)
August 17, 2023, 4:46pm
5
I didn’t and have no problems. I’m not sure that “fix” is meant for this repo, I think it is for another one:
opened 01:55AM - 05 May 23 UTC
closed 03:03AM - 05 May 23 UTC
problem in custom component
### The problem
Failed to set up
[Check the logs]
### What version of Home A… ssistant Core has the issue?
2023.5.1
### What was the last working version of Home Assistant Core?
2023.4.6
### What type of installation are you running?
Home Assistant Supervised
### Integration causing the issue
Enphase Envoy (DEV)
### Link to integration documentation on our website
https://github.com/jrutski/home_assistant_envoy_d7_fw
### Diagnostics information
This error originated from a custom integration.
Logger: homeassistant.config_entries
Source: custom_components/enphase_envoy/__init__.py:131
Integration: Enphase Envoy (DEV)
First occurred: 3:53:37 AM (1 occurrences)
Last logged: 3:53:37 AM
Error setting up entry Envoy xxxxxxxxxxxx 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'
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
_No response_
### Additional information
_No response_
Erwin033
(Erwin)
August 18, 2023, 6:10pm
6
I fixed it
I was running an old version of HA, after updating HA the problem solved.
Many thanks for your help