8000 Tado OAuth flow succeeds but re-authentication needed after 5s · Issue #141523 · home-assistant/core · GitHub
[go: up one dir, main page]

Skip to content
Tado OAuth flow succeeds but re-authentication needed after 5s #141523
@jelmerkk

Description

@jelmerkk

The problem

The new Tado OAuth flow presents itself, I get the ' Successfully connected device' message from Tado and briefly the error dissappears. But after 5s or so I already get another "Authentication expired for XXXX" message.

What version of Home Assistant Core has the issue?

core-2025.4.0b0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Tado

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tado

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Logger: homeassistant.components.tado.coordinator
Source: helpers/update_coordinator.py:380
integration: Tado (documentation, issues)
First occurred: 20:46:25 (2 occurrences)
Last logged: 20:46:58

Unexpected error fetching tado data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 380, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/tado/coordinator.py", line 91, in _async_update_data
    self.devices = await self.hass.async_add_executor_job(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        self._tado.get_devices
        ^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.13/site-packages/PyTado/interface/api/hops_tado.py", line 65, in get_devices
    request.device = device["serialNo"]
                     ~~~~~~^^^^^^^^^^^^
KeyError: 'serialNo'

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0