python-tado 0.18.8__tar.gz → 0.18.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. {python_tado-0.18.8/python_tado.egg-info → python_tado-0.18.9}/PKG-INFO +1 -1
  2. {python_tado-0.18.8 → python_tado-0.18.9}/PyTado/http.py +4 -3
  3. {python_tado-0.18.8 → python_tado-0.18.9}/pyproject.toml +1 -1
  4. {python_tado-0.18.8 → python_tado-0.18.9/python_tado.egg-info}/PKG-INFO +1 -1
  5. {python_tado-0.18.8 → python_tado-0.18.9}/AUTHORS +0 -0
  6. {python_tado-0.18.8 → python_tado-0.18.9}/LICENSE +0 -0
  7. {python_tado-0.18.8 → python_tado-0.18.9}/PyTado/__init__.py +0 -0
  8. {python_tado-0.18.8 → python_tado-0.18.9}/PyTado/__main__.py +0 -0
  9. {python_tado-0.18.8 → python_tado-0.18.9}/PyTado/const.py +0 -0
  10. {python_tado-0.18.8 → python_tado-0.18.9}/PyTado/exceptions.py +0 -0
  11. {python_tado-0.18.8 → python_tado-0.18.9}/PyTado/interface/__init__.py +0 -0
  12. {python_tado-0.18.8 → python_tado-0.18.9}/PyTado/interface/api/__init__.py +0 -0
  13. {python_tado-0.18.8 → python_tado-0.18.9}/PyTado/interface/api/hops_tado.py +0 -0
  14. {python_tado-0.18.8 → python_tado-0.18.9}/PyTado/interface/api/my_tado.py +0 -0
  15. {python_tado-0.18.8 → python_tado-0.18.9}/PyTado/interface/interface.py +0 -0
  16. {python_tado-0.18.8 → python_tado-0.18.9}/PyTado/logger.py +0 -0
  17. {python_tado-0.18.8 → python_tado-0.18.9}/PyTado/zone/__init__.py +0 -0
  18. {python_tado-0.18.8 → python_tado-0.18.9}/PyTado/zone/hops_zone.py +0 -0
  19. {python_tado-0.18.8 → python_tado-0.18.9}/PyTado/zone/my_zone.py +0 -0
  20. {python_tado-0.18.8 → python_tado-0.18.9}/README.md +0 -0
  21. {python_tado-0.18.8 → python_tado-0.18.9}/python_tado.egg-info/SOURCES.txt +0 -0
  22. {python_tado-0.18.8 → python_tado-0.18.9}/python_tado.egg-info/dependency_links.txt +0 -0
  23. {python_tado-0.18.8 → python_tado-0.18.9}/python_tado.egg-info/entry_points.txt +0 -0
  24. {python_tado-0.18.8 → python_tado-0.18.9}/python_tado.egg-info/not-zip-safe +0 -0
  25. {python_tado-0.18.8 → python_tado-0.18.9}/python_tado.egg-info/requires.txt +0 -0
  26. {python_tado-0.18.8 → python_tado-0.18.9}/python_tado.egg-info/top_level.txt +0 -0
  27. {python_tado-0.18.8 → python_tado-0.18.9}/setup.cfg +0 -0
  28. {python_tado-0.18.8 → python_tado-0.18.9}/tests/test_hops_zone.py +0 -0
  29. {python_tado-0.18.8 → python_tado-0.18.9}/tests/test_http.py +0 -0
  30. {python_tado-0.18.8 → python_tado-0.18.9}/tests/test_my_tado.py +0 -0
  31. {python_tado-0.18.8 → python_tado-0.18.9}/tests/test_my_zone.py +0 -0
  32. {python_tado-0.18.8 → python_tado-0.18.9}/tests/test_tado_interface.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: python-tado
3
- Version: 0.18.8
3
+ Version: 0.18.9
4
4
  Summary: PyTado from chrism0dwk, modfied by w.malgadey, diplix, michaelarnauts, LenhartStephan, splifter, syssi, andersonshatch, Yippy, p0thi, Coffee2CodeNL, chiefdragon, FilBr, nikilase, albertomontesg, Moritz-Schmidt, palazzem
5
5
  Author-email: Chris Jewell <chrism0dwk@gmail.com>, "w.malgadey" <w.malgadey@gmail.com>, FilBr <filippo.barba@protonmail.com>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -189,9 +189,10 @@ class Http:
189
189
  self._x_api: bool | None = None
190
190
  self._token_file_path = token_file_path
191
191
 
192
- if saved_refresh_token or self._load_token():
193
- if self._refresh_token(refresh_token=saved_refresh_token, force_refresh=True):
194
- self._device_ready()
192
+ if (saved_refresh_token or self._load_token()) and self._refresh_token(
193
+ refresh_token=saved_refresh_token, force_refresh=True
194
+ ):
195
+ self._device_ready()
195
196
  else:
196
197
  self._device_activation_status = self._login_device_flow()
197
198
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "python-tado"
7
- version = "0.18.8"
7
+ version = "0.18.9"
8
8
  description = "PyTado from chrism0dwk, modfied by w.malgadey, diplix, michaelarnauts, LenhartStephan, splifter, syssi, andersonshatch, Yippy, p0thi, Coffee2CodeNL, chiefdragon, FilBr, nikilase, albertomontesg, Moritz-Schmidt, palazzem"
9
9
  authors = [
10
10
  { name = "Chris Jewell", email = "chrism0dwk@gmail.com" },
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: python-tado
3
- Version: 0.18.8
3
+ Version: 0.18.9
4
4
  Summary: PyTado from chrism0dwk, modfied by w.malgadey, diplix, michaelarnauts, LenhartStephan, splifter, syssi, andersonshatch, Yippy, p0thi, Coffee2CodeNL, chiefdragon, FilBr, nikilase, albertomontesg, Moritz-Schmidt, palazzem
5
5
  Author-email: Chris Jewell <chrism0dwk@gmail.com>, "w.malgadey" <w.malgadey@gmail.com>, FilBr <filippo.barba@protonmail.com>
6
6
  License: GNU GENERAL PUBLIC LICENSE
File without changes
File without changes
File without changes
File without changes