You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have filled out the issue template to the best of my ability.
This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
This issue is not a duplicate issue of currently previous issues..
Describe the issue
I started using hacs-e3dc in November 2023. I updated E3DC to latest firmware 2 weeks ago. Shortly after I updated hacs-e3dc from 3.4.2 to 3.6.2 for #118. Since then RSCPKeyError was raised twice: In e3dc.poll on April 18 and in get_manual_charge->sendRequest on April 22. In e3dc_proxy.py we raise ConfigEntryAuthFailed on RSCPKeyError. This causes Home Assistant to stop the integration until the user manually re-authenticates.
The issue does not appear to be related to authentication. I have not changed my passwords and I re-authenticate successfully with the same credentials. Removing the RSCPKeyError clause fixes the issue for me.
@@ -40,11 +41,6 @@ def e3dc_call(func):
except AuthenticationError as ex:
_LOGGER.exception("Failed to authenticate with E3DC: %s", ex)
raise ConfigEntryAuthFailed("Failed to authenticate with E3DC") from ex
- except RSCPKeyError as ex:- _LOGGER.exception("Encryption error with E3DC, key invalid: %s", ex)- raise ConfigEntryAuthFailed(- "Encryption Error with E3DC, key invalid"- ) from ex
except (HomeAssistantError, ConfigEntryAuthFailed):
raise
except Exception as ex:
System Health details
System Information
Home Assistant Cloud
Dashboards
Recorder
Checklist
Describe the issue
I started using hacs-e3dc in November 2023. I updated E3DC to latest firmware 2 weeks ago. Shortly after I updated hacs-e3dc from 3.4.2 to 3.6.2 for #118. Since then RSCPKeyError was raised twice: In e3dc.poll on April 18 and in get_manual_charge->sendRequest on April 22. In e3dc_proxy.py we raise ConfigEntryAuthFailed on RSCPKeyError. This causes Home Assistant to stop the integration until the user manually re-authenticates.
The issue does not appear to be related to authentication. I have not changed my passwords and I re-authenticate successfully with the same credentials. Removing the RSCPKeyError clause fixes the issue for me.
Reproduction steps
To reproduce I made the following change.
Debug logs
Diagnostics dump
No response
The text was updated successfully, but these errors were encountered: