Skip to content

FIx DST issue #189

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

Merged
merged 1 commit into from
Apr 3, 2025
Merged

FIx DST issue #189

merged 1 commit into from
Apr 3, 2025

Conversation

erwindouna
Copy link
Collaborator

@erwindouna erwindouna commented Apr 2, 2025

Description

Provide a clear and concise description of the changes you are proposing.

Fixes the Daylight Saving Time issue reported by Tado.

Related Issues

Link any related issues that this pull request resolves or is associated with:


Type of Changes

Mark the type of changes included in this pull request:

  • Bugfix
  • New Feature
  • Documentation Update
  • Refactor
  • Other (please specify):

Checklist

  • I have tested the changes locally and they work as expected.
  • I have added/updated necessary documentation (if applicable).
  • I have followed the code style and guidelines of the project.
  • I have searched for and linked any related issues.

Additional Notes

Add any additional comments, screenshots, or context for the reviewer(s).


Thank you for your contribution to PyTado! 🎉

@erwindouna erwindouna changed the title FIx the DST issue reported by Tado FIx DST issue Apr 2, 2025
@erwindouna erwindouna marked this pull request as ready for review April 2, 2025 19:17
@wmalgadey wmalgadey merged commit 429f0d4 into wmalgadey:master Apr 3, 2025
7 of 8 checks passed
wmalgadey pushed a commit that referenced this pull request Apr 3, 2025
arjanvlek added a commit to arjanvlek/libtado that referenced this pull request Apr 3, 2025
For long-running clients (i.e. where the `Tado` object is not
constructed each time the API is called), there appears to be
an issue with the refresh tokens and DST.

This was first reported by Tado in PyTado,
see wmalgadey/PyTado#188

A fix has since been made, mainly for use with HA.

Since the Oauth code is mostly taken over from PyTado, applied the same
changes (see wmalgadey/PyTado#189) to make our
codebase compliant as well.
germainlefebvre4 pushed a commit to germainlefebvre4/libtado that referenced this pull request Apr 7, 2025
For long-running clients (i.e. where the `Tado` object is not
constructed each time the API is called), there appears to be
an issue with the refresh tokens and DST.

This was first reported by Tado in PyTado,
see wmalgadey/PyTado#188

A fix has since been made, mainly for use with HA.

Since the Oauth code is mostly taken over from PyTado, applied the same
changes (see wmalgadey/PyTado#189) to make our
codebase compliant as well.
@erwindouna erwindouna deleted the fix-dst-issue branch April 23, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Check for expiration on token is not DST-safe
2 participants