-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Tado migrate to OAuth Device Flow #140761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tado migrate to OAuth Device Flow #140761
Conversation
Same here |
Tried a restart of the Terminal add-on, then I was able to run the workaround after three restart and cache cleaning (at first 500 error, then after a second restart timeout error, a third restart was the successful one). |
Thanks, restarting the Terminal add-on did the trick indeed! Weird how before the restart the |
i had success to run the script, now i can authenticate, but after authentication success i'm encountering this error and entities doesn't load: Device login flow status is PENDING. Starting re-authentication And from logs: Config entry 'Casa' for tado integration could not authenticate: Device login flow status is PENDING. Starting re-authentication. |
Hey guys, |
Thank you so much guys everything works great. 😃😃😃 |
It works for me, but after reboot you have to reconnect Tado again. |
The fix has been merged and this means it will be made available shortly! The earliest possibility will be in the Beta, on Wednesday the 26th of March. For those we didn't felt comfortable or were unable to get the custom component fix in (provided by @Dillton, again thanks for your great work around!), this is the easiest way to get the new code. How to opt-in for the Beta? I have installed the custom component/work around. What should I do?
Let me close of with thanking all the collaborators who were very eager to tinkering a long and find solutions and being very supportive to help other users! A great example, even in a dire situation, how the Open Source community tries to help each other! Let's now focus on the Beta and onwards to the official release. Feel free to ask for support in this thread, which I will monitor to help around as best as I can. 😃 |
It works... THANKS! |
The custom component fix worked for me :)! |
For those of us that need a little hand-holding, is there anything we need to explicitly do now? Does the fix work for both legacy Tado devices and the new Tado X devices? |
For tado x we need to wait for this PR to merge… |
Small heads up! This change is now available in our beta! Some help testing the Home Assistant beta containing this, would be greatly appreciated. More information on how to test the beta, can be found here: https://github.com/home-assistant/core/releases/tag/2025.4.0b0 |
Breaking change
Tado made a notice of deprecation, that they will be removing the password from from their OAuth server and switch to the device flow.
This PR has an updated version of PyTado and now handles setting up the integration in Home Assistant via the device flow.
This also includes:
Proposed change
Type of change
Additional information
Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
.To help with the load of incoming pull requests: