Closed powerouioui closed 1 year ago
Since it seems getting data, can you try CTRL-F5 to refresh the browser cache?
I just tested and it is the same result.
Ok, and no other errors in the logfile I assume.
What you could try to see what's going on:
edit configuration.yaml in the config folder and add
logger:
# default: info
default: warning
logs:
custom_components.enphase_envoy: debug
That will switch on debug for envoy from the start. Then delete the envoy integration, restart HA and add envoy again. It may catch more detail in this way.
Here are the information I got after modification of the configuration.yaml (I have inserted ## on my envoy gateway):
Cette erreur provient d'une intégration personnalisée
Logger: homeassistant.config_entries Source: custom_components/enphase_envoy/init.py:131 Integration: Enphase Envoy (DEV) First occurred: 15:26:08 (1 occurrences) Last logged: 15:26:08
Error setting up entry Envoy 12#######48 for enphase_envoy Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 390, 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'
You Are not using the latest version of the plugin. line 131 is blank.
I have founded the issue : https://github.com/jrutski/home_assistant_envoy_d7_fw/pull/7/files Now I have my sensors etc.
Inchange in the init.py line 131: remove: hass.config_entries.async_setup_platforms(entry, PLATFORMS) add await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
Thank you!
THis integration has that change as of February to be compatible with HA release at that time. As @posixx mentions, you are on an older version. Current version has it in line 137
Hi, I have an issue by using the integration. After inserting my username, password and checked the checkbox on the bottom, everything seams to be ok, but in reality no, I have the following error. Could you please help me?![image](https://github.com/briancmpbll/home_assistant_custom_envoy/assets/91634641/92a5d1be-af0f-4c2c-97e0-ea5e7448fd11)
When I ask for the debbug logbook, it looks like the connection to the Envoy gateway is ok but the entries creation fail. As you can see, we see the report of power production of solar panels.![image](https://github.com/briancmpbll/home_assistant_custom_envoy/assets/91634641/d5d943c4-fff7-4b2b-9953-2ab72240ca2f)
Thank you