Unexpected error - When trying to connect Tado with Home Assistant

I get “Unexpected Error” when I enter the correct credentials, when trying to add my Tado to Home Assistant.

I have verified the credentials are correct (assuming my username is my e-mail like it is in their web-app and iOS app).

I see this error:

Just flashed a HaOS microSD and redid everything. there it works fine. so seems to be an issue with the docker image / installation.

Tado is working on my docker installation (Home Assistant 2021.2.3) without any problems.

Hi all,

I have the same error in a official docker installation. Yesterday all my Tado devices become unknown state. I deleted the integration and now I am unable to add the integration due to Unexpected Error during login. My login through the web is ok and my tado app works well.

As an additional info, I added several devices to my Tado ecosystem last days.

Has anyone any recomendation to address this problem?

More information from HA log:

Logger: homeassistant.components.tado.config_flow
Source: components/tado/config_flow.py:29
Integration: Tado (documentation, issues)
First occurred: 10:26:02 (2 occurrences)
Last logged: 11:16:21

Unexpected exception

Traceback (most recent call last): File “/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py”, line 699, in urlopen httplib_response = self._make_request( File “/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py”, line 382, in _make_request self._validate_conn(conn) File “/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py”, line 1010, in validate_conn conn.connect() File “/usr/local/lib/python3.8/site-packages/urllib3/connection.py”, line 392, in connect self.ssl_context = create_urllib3_context( File "/usr/local/lib/python3.8/site-packages/urllib3/util/ssl.py", line 283, in create_urllib3_context context.set_ciphers(ciphers or DEFAULT_CIPHERS) ssl.SSLError: (‘No cipher can be selected.’,)

During handling of the above exception, another exception occurred: Traceback (most recent call last): File “/usr/local/lib/python3.8/site-packages/requests/adapters.py”, line 439, in send resp = conn.urlopen( File “/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py”, line 755, in urlopen retries = retries.increment( File “/usr/local/lib/python3.8/site-packages/urllib3/util/retry.py”, line 573, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘auth.tado.com’, port=443): Max retries exceeded with url: /oauth/token?client_id=public-api-preview&client_secret=xxxxxxxxxxxxxxxxxxxx&grant_type=password&password=XXXXXXXXX&scope=home.user&username=XXXXXXXXXXX (Caused by SSLError(SSLError(‘No cipher can be selected.’)))

During handling of the above exception, another exception occurred: Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/tado/config_flow.py”, line 63, in async_step_user validated = await validate_input(self.hass, user_input) File “/usr/src/homeassistant/homeassistant/components/tado/config_flow.py”, line 29, in validate_input tado = await hass.async_add_executor_job( File “/usr/local/lib/python3.8/concurrent/futures/thread.py”, line 57, in run result = self.fn(*self.args, **self.kwargs) File “/usr/local/lib/python3.8/site-packages/PyTado/interface.py”, line 430, in init self._loginV2(username, password) File “/usr/local/lib/python3.8/site-packages/PyTado/interface.py”, line 147, in _loginV2 response = self._http_session.request(“post”, url, params=data, timeout=self.timeout, data=json.dumps({}).encode(‘utf8’), File “/usr/local/lib/python3.8/site-packages/requests/sessions.py”, line 542, in request resp = self.send(prep, **send_kwargs) File “/usr/local/lib/python3.8/site-packages/requests/sessions.py”, line 655, in send r = adapter.send(request, **kwargs) File “/usr/local/lib/python3.8/site-packages/requests/adapters.py”, line 514, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host=‘auth.tado.com’, port=443): Max retries exceeded with url: /oauth/token?client_id=public-api-preview&client_secret=xxxxxxxxxxxxxxxxxx&grant_type=password&password=XXXXXXXXXXXXX&scope=home.user&username=XXXXXXXXXXXX (Caused by SSLError(SSLError(‘No cipher can be selected.’)))