signalkraft / mypyllant-component

Home Assistant component for the myVAILLANT API, controls Vaillant devices such as aroTHERM heatpumps and ecoTEC boilers
https://signalkraft.com/mypyllant-component/
MIT License
128 stars 19 forks source link

Login into Vailant account in 2024.06.0 does not work #170

Closed matejsalamon closed 2 months ago

matejsalamon commented 3 months ago

Before submitting a new issue

Problem description

Please describe what you were trying to do, what happened, and what you expected to happen.

Logs

Put your debug logs here
Be careful not to include tokens, emails, and other personal information
matejsalamon commented 3 months ago

Since update to 2024.06.0 there is no way to login into Vailant account in the HA. In myVailant app login works normal. Here is the HA log in this case:

This error originated from a custom integration.

Logger: custom_components.mypyllant.config_flow Source: custom_components/mypyllant/config_flow.py:225 integration: myVAILLANT (documentation, issues) First occurred: 10:08:58 AM (3 occurrences) Last logged: 10:10:33 AM

Unexpected exception Traceback (most recent call last): File "/config/custom_components/mypyllant/config_flow.py", line 225, in async_step_user self._abort_if_unique_id_configured() File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2258, in _abort_if_unique_id_configured raise data_entry_flow.AbortFlow(error) homeassistant.data_entry_flow.AbortFlow: Flow aborted: already_configured

BenE-O commented 3 months ago

Same with me! The last update enables download When using the wrong password, I receive the message: Authentication failed, check your username and password and make sure you selected the right country and device brand But logging in with the correct credentials generates the following message: unexpected error

lieglw commented 3 months ago

Hi, had the same problem. I had deactivated the entry and somehow HA saved it even though I deleted the integration several times and reinstalled ist. When checking the integration overview I have seen that there was a deactivated integration. So activated again and now it works. Did not had to reenter the credentials.

BenE-O commented 3 months ago

You're right, this solved my problem. I had to remove and reinstall, because I changed my password :-) Thanks!