python-tado 0.19.4__tar.gz → 0.19.5__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.
- {python_tado-0.19.4 → python_tado-0.19.5}/PKG-INFO +46 -8
- {python_tado-0.19.4 → python_tado-0.19.5}/PyTado/__main__.py +9 -15
- python_tado-0.19.5/PyTado/const.py +99 -0
- {python_tado-0.19.4 → python_tado-0.19.5}/PyTado/exceptions.py +0 -4
- {python_tado-0.19.4 → python_tado-0.19.5}/PyTado/http.py +107 -269
- {python_tado-0.19.4 → python_tado-0.19.5}/PyTado/interface/api/__init__.py +1 -2
- python_tado-0.19.5/PyTado/interface/api/hops_tado.py +376 -0
- python_tado-0.19.5/PyTado/interface/api/my_tado.py +623 -0
- python_tado-0.19.5/PyTado/interface/interface.py +365 -0
- {python_tado-0.19.4 → python_tado-0.19.5}/PyTado/logger.py +1 -1
- python_tado-0.19.5/PyTado/zone/__init__.py +6 -0
- python_tado-0.19.5/PyTado/zone/hops_zone.py +132 -0
- python_tado-0.19.5/PyTado/zone/my_zone.py +215 -0
- {python_tado-0.19.4 → python_tado-0.19.5}/README.md +42 -5
- {python_tado-0.19.4 → python_tado-0.19.5}/pyproject.toml +15 -21
- python_tado-0.19.4/PyTado/__init__.py +0 -6
- python_tado-0.19.4/PyTado/const.py +0 -72
- python_tado-0.19.4/PyTado/factory/__init__.py +0 -7
- python_tado-0.19.4/PyTado/factory/initializer.py +0 -90
- python_tado-0.19.4/PyTado/interface/api/base_tado.py +0 -601
- python_tado-0.19.4/PyTado/interface/api/hops_tado.py +0 -418
- python_tado-0.19.4/PyTado/interface/api/my_tado.py +0 -363
- python_tado-0.19.4/PyTado/interface/interface.py +0 -175
- python_tado-0.19.4/PyTado/models/__init__.py +0 -8
- python_tado-0.19.4/PyTado/models/common/schedule.py +0 -52
- python_tado-0.19.4/PyTado/models/historic.py +0 -137
- python_tado-0.19.4/PyTado/models/home.py +0 -206
- python_tado-0.19.4/PyTado/models/line_x/__init__.py +0 -14
- python_tado-0.19.4/PyTado/models/line_x/device.py +0 -62
- python_tado-0.19.4/PyTado/models/line_x/installation.py +0 -8
- python_tado-0.19.4/PyTado/models/line_x/room.py +0 -90
- python_tado-0.19.4/PyTado/models/line_x/schedule.py +0 -31
- python_tado-0.19.4/PyTado/models/pre_line_x/__init__.py +0 -23
- python_tado-0.19.4/PyTado/models/pre_line_x/boiler.py +0 -36
- python_tado-0.19.4/PyTado/models/pre_line_x/device.py +0 -42
- python_tado-0.19.4/PyTado/models/pre_line_x/flow_temperature_optimization.py +0 -34
- python_tado-0.19.4/PyTado/models/pre_line_x/home.py +0 -7
- python_tado-0.19.4/PyTado/models/pre_line_x/schedule.py +0 -17
- python_tado-0.19.4/PyTado/models/pre_line_x/zone.py +0 -288
- python_tado-0.19.4/PyTado/models/return_models.py +0 -28
- python_tado-0.19.4/PyTado/models/util.py +0 -93
- python_tado-0.19.4/PyTado/types.py +0 -207
- python_tado-0.19.4/PyTado/zone/__init__.py +0 -6
- python_tado-0.19.4/PyTado/zone/base_zone.py +0 -471
- python_tado-0.19.4/PyTado/zone/hops_zone.py +0 -360
- python_tado-0.19.4/PyTado/zone/my_zone.py +0 -506
- {python_tado-0.19.4 → python_tado-0.19.5}/AUTHORS +0 -0
- {python_tado-0.19.4 → python_tado-0.19.5}/LICENSE +0 -0
- {python_tado-0.19.4/PyTado/models/common → python_tado-0.19.5/PyTado}/__init__.py +0 -0
- {python_tado-0.19.4 → python_tado-0.19.5}/PyTado/interface/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-tado
|
|
3
|
-
Version: 0.19.
|
|
3
|
+
Version: 0.19.5
|
|
4
4
|
Summary: PyTado from chrism0dwk, modified by w.malgadey, diplix, michaelarnauts, LenhartStephan, splifter, syssi, andersonshatch, Yippy, p0thi, Coffee2CodeNL, chiefdragon, FilBr, nikilase, albertomontesg, Moritz-Schmidt, palazzem
|
|
5
5
|
License: GPL-3.0-or-later
|
|
6
6
|
License-File: AUTHORS
|
|
@@ -25,9 +25,8 @@ Provides-Extra: all
|
|
|
25
25
|
Provides-Extra: dev
|
|
26
26
|
Provides-Extra: lint
|
|
27
27
|
Provides-Extra: test
|
|
28
|
+
Requires-Dist: black (>=24.10) ; extra == "lint" or extra == "all"
|
|
28
29
|
Requires-Dist: pre-commit ; extra == "dev" or extra == "all"
|
|
29
|
-
Requires-Dist: pydantic (>=2.10.6,<3.0.0)
|
|
30
|
-
Requires-Dist: pydoc-markdown ; extra == "dev" or extra == "all"
|
|
31
30
|
Requires-Dist: pylint ; extra == "lint" or extra == "all"
|
|
32
31
|
Requires-Dist: pytest ; extra == "test" or extra == "all"
|
|
33
32
|
Requires-Dist: pytest-cov ; extra == "test" or extra == "all"
|
|
@@ -37,8 +36,10 @@ Requires-Dist: pytype ; extra == "dev" or extra == "all"
|
|
|
37
36
|
Requires-Dist: requests
|
|
38
37
|
Requires-Dist: responses ; extra == "test" or extra == "all"
|
|
39
38
|
Requires-Dist: types-requests ; extra == "dev" or extra == "all"
|
|
39
|
+
Project-URL: Changelog, https://github.com/wmalgadey/PyTado/releases
|
|
40
40
|
Project-URL: Documentation, https://wmalgadey.github.io/PyTado/
|
|
41
41
|
Project-URL: Homepage, https://github.com/wmalgadey/PyTado
|
|
42
|
+
Project-URL: Migration guide, https://github.com/wmalgadey/PyTado/blob/master/MigrationV1.0.0.md
|
|
42
43
|
Project-URL: Repository, https://github.com/wmalgadey/PyTado
|
|
43
44
|
Description-Content-Type: text/markdown
|
|
44
45
|
|
|
@@ -54,14 +55,14 @@ PyTado is a Python module implementing an interface to the Tado web API. It allo
|
|
|
54
55
|
Tado heating system for the purposes of monitoring or controlling their heating system, beyond what Tado themselves
|
|
55
56
|
currently offer.
|
|
56
57
|
|
|
57
|
-
It is hoped that this module might be used by those who wish to tweak their Tado systems, and further
|
|
58
|
+
It is hoped that this module might be used by those who wish to tweak their Tado systems, and further optimise their
|
|
58
59
|
heating setups.
|
|
59
60
|
|
|
60
61
|
---
|
|
61
62
|
|
|
62
63
|
Original author: Chris Jewell <chrism0dwk@gmail.com>
|
|
63
64
|
|
|
64
|
-
|
|
65
|
+
Licence: GPL v3
|
|
65
66
|
|
|
66
67
|
Copyright: Chris Jewell 2016-2018
|
|
67
68
|
|
|
@@ -70,9 +71,31 @@ Copyright: Chris Jewell 2016-2018
|
|
|
70
71
|
Besides owning a Tado system, I have no connection with the Tado company themselves. PyTado was created for my own use,
|
|
71
72
|
and for others who may wish to experiment with personal Internet of Things systems. I receive no help (financial or
|
|
72
73
|
otherwise) from Tado, and have no business interest with them. This software is provided without warranty, according to
|
|
73
|
-
the GNU Public
|
|
74
|
+
the GNU Public Licence version 3, and should therefore not be used where it may endanger life, financial stakes, or
|
|
74
75
|
cause discomfort and inconvenience to others.
|
|
75
76
|
|
|
77
|
+
## Versions
|
|
78
|
+
|
|
79
|
+
| Line | API | Status | Branch |
|
|
80
|
+
| ---- | --- | ------ | ------ |
|
|
81
|
+
| **1.x** (from 1.0.1) | New typed API: pydantic models instead of `dict`, separate clients for tado v2/v3/v3+ (`Tado`) and tado X (`TadoX`), `TadoClientInitializer`, token managers that share one login between processes. Needs `pydantic` 2. | Under active development | `master` |
|
|
82
|
+
| **0.18.x** | Old API: methods return plain `dict`/`list`, one `Tado` class for all devices. | Maintained, bug fixes and backports | `support/0.18` |
|
|
83
|
+
| **0.19.x** | Same old API as 0.18.x (0.19.0 brought the OAuth device flow, child lock and flow temperature optimization, which were all backported to 0.18.x). | Frozen, use 0.18.x | `support/0.19` |
|
|
84
|
+
|
|
85
|
+
The 1.x API is not compatible with 0.x. See the [migration guide](https://github.com/wmalgadey/PyTado/blob/master/MigrationV1.0.0.md).
|
|
86
|
+
|
|
87
|
+
Pin the line you need, e.g. `python-tado~=0.18.17` for the old API or `python-tado>=1.0.1,<2` for the new one. Until 1.0.1 final is out, the new API is only available as a release candidate: `pip install --pre "python-tado>=1.0.1rc1,<2"`.
|
|
88
|
+
|
|
89
|
+
### Releases to avoid
|
|
90
|
+
|
|
91
|
+
- **0.19.4** contains the 1.x API by mistake, even though its version number says 0.19. It is being yanked on PyPI (once 0.19.5 is out). Use 0.19.5 (old API) or 1.0.1 or later (new API) instead.
|
|
92
|
+
- **1.0.0** was uploaded to PyPI by mistake (from the 0.19.3 tag) and then deleted. PyPI never accepts a version number twice, so the first stable 1.x release is **1.0.1**.
|
|
93
|
+
- **0.19.3** was never published to PyPI.
|
|
94
|
+
|
|
95
|
+
**You are looking at 0.19.5**: the old API, identical to 0.19.2. For new projects use 1.x; for the old API prefer 0.18.x, which gets fixes.
|
|
96
|
+
|
|
97
|
+
Release notes for every version are on the [GitHub releases page](https://github.com/wmalgadey/PyTado/releases).
|
|
98
|
+
|
|
76
99
|
## Usage
|
|
77
100
|
|
|
78
101
|
As of the 15th of March 2025, Tado has updated their OAuth2 authentication flow. It will now use the device flow, instead of a username/password flow. This means that the user will have to authenticate the device using a browser, and then enter the code that is displayed on the browser into the terminal.
|
|
@@ -98,7 +121,7 @@ It is possible to save the refresh token and reuse to skip the next login.
|
|
|
98
121
|
|
|
99
122
|
The following code will use the `refresh_token` file to save the refresh-token after login, and load the refresh-token if you create the Tado interface class again.
|
|
100
123
|
|
|
101
|
-
If the file doesn't exists, the
|
|
124
|
+
If the file doesn't exists, the webbrowser is started and the device authentication url is automatically opened. You can activate the device in the browser. When you restart the program, the refresh-token is reused and no webbrowser will be opened.
|
|
102
125
|
|
|
103
126
|
```python
|
|
104
127
|
import webbrowser # only needed for direct web browser access
|
|
@@ -155,6 +178,7 @@ if __name__ == "__main__":
|
|
|
155
178
|
Note: For developers, there is an `example.py` script in `examples/` which is configured to fetch data from your account.
|
|
156
179
|
You can then invoke `python examples/example.py`.
|
|
157
180
|
|
|
181
|
+
|
|
158
182
|
## Contributing
|
|
159
183
|
|
|
160
184
|
We are very open to the community's contributions - be it a quick fix of a typo, or a completely new feature!
|
|
@@ -186,7 +210,20 @@ git clone https://github.com/yourusername/PyTado.git
|
|
|
186
210
|
cd PyTado
|
|
187
211
|
```
|
|
188
212
|
|
|
189
|
-
Then, to create your development environment and install the project with its dependencies, execute the
|
|
213
|
+
Then, to create your development environment and install the project with its dependencies, execute the following
|
|
214
|
+
commands in your terminal:
|
|
215
|
+
|
|
216
|
+
```bash
|
|
217
|
+
# Create and activate a new virtual environment
|
|
218
|
+
python3 -m venv venv
|
|
219
|
+
source venv/bin/activate
|
|
220
|
+
|
|
221
|
+
# install all dependencies
|
|
222
|
+
poetry install
|
|
223
|
+
|
|
224
|
+
# Install pre-commit hooks
|
|
225
|
+
poetry run pre-commit install
|
|
226
|
+
```
|
|
190
227
|
|
|
191
228
|
### Coding Guidelines
|
|
192
229
|
|
|
@@ -225,6 +262,7 @@ A message from the original author:
|
|
|
225
262
|
>
|
|
226
263
|
> Chris Jewell
|
|
227
264
|
|
|
265
|
+
|
|
228
266
|
[devcontainer-shield]: https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode
|
|
229
267
|
[devcontainer]: https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/wmalgadey/PyTado
|
|
230
268
|
|
|
@@ -9,7 +9,7 @@ import sys
|
|
|
9
9
|
from PyTado.interface import Tado
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
def log_in(args
|
|
12
|
+
def log_in(args):
|
|
13
13
|
"""
|
|
14
14
|
Log in to the Tado API by activating the current device.
|
|
15
15
|
|
|
@@ -27,7 +27,7 @@ def log_in(args: argparse.Namespace) -> Tado:
|
|
|
27
27
|
return t
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
def get_me(args
|
|
30
|
+
def get_me(args):
|
|
31
31
|
"""
|
|
32
32
|
Retrieve and print home information from the Tado API.
|
|
33
33
|
|
|
@@ -39,7 +39,7 @@ def get_me(args: argparse.Namespace) -> None:
|
|
|
39
39
|
print(me)
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
def get_state(args
|
|
42
|
+
def get_state(args):
|
|
43
43
|
"""
|
|
44
44
|
Retrieve and print the state of a specific zone from the Tado API.
|
|
45
45
|
|
|
@@ -51,7 +51,7 @@ def get_state(args: argparse.Namespace) -> None:
|
|
|
51
51
|
print(zone)
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
def get_states(args
|
|
54
|
+
def get_states(args):
|
|
55
55
|
"""
|
|
56
56
|
Retrieve and print the states of all zones from the Tado API.
|
|
57
57
|
|
|
@@ -63,7 +63,7 @@ def get_states(args: argparse.Namespace) -> None:
|
|
|
63
63
|
print(zones)
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
def get_capabilities(args
|
|
66
|
+
def get_capabilities(args):
|
|
67
67
|
"""
|
|
68
68
|
Retrieve and print the capabilities of a specific zone from the Tado API.
|
|
69
69
|
|
|
@@ -75,7 +75,7 @@ def get_capabilities(args: argparse.Namespace) -> None:
|
|
|
75
75
|
print(capabilities)
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
def main()
|
|
78
|
+
def main():
|
|
79
79
|
"""
|
|
80
80
|
Main method for the script.
|
|
81
81
|
|
|
@@ -109,23 +109,17 @@ def main() -> None:
|
|
|
109
109
|
show_config_parser = subparsers.add_parser("get_me", help="Get home information.")
|
|
110
110
|
show_config_parser.set_defaults(func=get_me)
|
|
111
111
|
|
|
112
|
-
start_activity_parser = subparsers.add_parser(
|
|
113
|
-
"get_state", help="Get state of zone."
|
|
114
|
-
)
|
|
112
|
+
start_activity_parser = subparsers.add_parser("get_state", help="Get state of zone.")
|
|
115
113
|
start_activity_parser.add_argument("--zone", help="Zone to get the state of.")
|
|
116
114
|
start_activity_parser.set_defaults(func=get_state)
|
|
117
115
|
|
|
118
|
-
start_activity_parser = subparsers.add_parser(
|
|
119
|
-
"get_states", help="Get states of all zones."
|
|
120
|
-
)
|
|
116
|
+
start_activity_parser = subparsers.add_parser("get_states", help="Get states of all zones.")
|
|
121
117
|
start_activity_parser.set_defaults(func=get_states)
|
|
122
118
|
|
|
123
119
|
start_activity_parser = subparsers.add_parser(
|
|
124
120
|
"get_capabilities", help="Get capabilities of zone."
|
|
125
121
|
)
|
|
126
|
-
start_activity_parser.add_argument(
|
|
127
|
-
"--zone", help="Zone to get the capabilities of."
|
|
128
|
-
)
|
|
122
|
+
start_activity_parser.add_argument("--zone", help="Zone to get the capabilities of.")
|
|
129
123
|
start_activity_parser.set_defaults(func=get_capabilities)
|
|
130
124
|
|
|
131
125
|
args = parser.parse_args()
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"""Constant values for the Tado component."""
|
|
2
|
+
|
|
3
|
+
# API client ID
|
|
4
|
+
CLIENT_ID_DEVICE = "1bb50063-6b0c-4d11-bd99-387f4a91cc46" # nosec B105
|
|
5
|
+
|
|
6
|
+
# Types
|
|
7
|
+
TYPE_AIR_CONDITIONING = "AIR_CONDITIONING"
|
|
8
|
+
TYPE_HEATING = "HEATING"
|
|
9
|
+
TYPE_HOT_WATER = "HOT_WATER"
|
|
10
|
+
|
|
11
|
+
# Base modes
|
|
12
|
+
CONST_MODE_OFF = "OFF"
|
|
13
|
+
CONST_MODE_SMART_SCHEDULE = "SMART_SCHEDULE" # Use the schedule
|
|
14
|
+
CONST_MODE_AUTO = "AUTO"
|
|
15
|
+
CONST_MODE_COOL = "COOL"
|
|
16
|
+
CONST_MODE_HEAT = "HEAT"
|
|
17
|
+
CONST_MODE_DRY = "DRY"
|
|
18
|
+
CONST_MODE_FAN = "FAN"
|
|
19
|
+
|
|
20
|
+
CONST_LINK_OFFLINE = "OFFLINE"
|
|
21
|
+
CONST_CONNECTION_OFFLINE = "OFFLINE"
|
|
22
|
+
|
|
23
|
+
CONST_FAN_OFF = "OFF"
|
|
24
|
+
CONST_FAN_AUTO = "AUTO"
|
|
25
|
+
CONST_FAN_LOW = "LOW"
|
|
26
|
+
CONST_FAN_MIDDLE = "MIDDLE"
|
|
27
|
+
CONST_FAN_HIGH = "HIGH"
|
|
28
|
+
|
|
29
|
+
CONST_FAN_SPEED_OFF = "OFF"
|
|
30
|
+
CONST_FAN_SPEED_AUTO = "AUTO"
|
|
31
|
+
CONST_FAN_SPEED_SILENT = "SILENT"
|
|
32
|
+
CONST_FAN_SPEED_LEVEL1 = "LEVEL1"
|
|
33
|
+
CONST_FAN_SPEED_LEVEL2 = "LEVEL1"
|
|
34
|
+
CONST_FAN_SPEED_LEVEL3 = "LEVEL3"
|
|
35
|
+
CONST_FAN_SPEED_LEVEL4 = "LEVEL4"
|
|
36
|
+
|
|
37
|
+
CONST_VERTICAL_SWING_OFF = "OFF"
|
|
38
|
+
CONST_VERTICAL_SWING_ON = "ON"
|
|
39
|
+
|
|
40
|
+
CONST_HORIZONTAL_SWING_OFF = "OFF"
|
|
41
|
+
CONST_HORIZONTAL_SWING_ON = "ON"
|
|
42
|
+
CONST_HORIZONTAL_SWING_LEFT = "LEFT"
|
|
43
|
+
CONST_HORIZONTAL_SWING_MID_LEFT = "MID_LEFT"
|
|
44
|
+
CONST_HORIZONTAL_SWING_MID = "MID"
|
|
45
|
+
CONST_HORIZONTAL_SWING_MID_RIGHT = "MID_RIGHT"
|
|
46
|
+
CONST_HORIZONTAL_SWING_RIGHT = "RIGHT"
|
|
47
|
+
|
|
48
|
+
# When we change the temperature setting, we need an overlay mode
|
|
49
|
+
CONST_OVERLAY_TADO_MODE = "NEXT_TIME_BLOCK" # wait until tado changes the mode automatic
|
|
50
|
+
CONST_OVERLAY_MANUAL = "MANUAL" # the user has changed the temperature or mode manually
|
|
51
|
+
CONST_OVERLAY_TIMER = "TIMER" # the temperature will be reset after a timespan
|
|
52
|
+
|
|
53
|
+
# Heat always comes first since we get the
|
|
54
|
+
# min and max tempatures for the zone from
|
|
55
|
+
# it.
|
|
56
|
+
# Heat is preferred as it generally has a lower minimum temperature
|
|
57
|
+
ORDERED_KNOWN_TADO_MODES = [
|
|
58
|
+
CONST_MODE_HEAT,
|
|
59
|
+
CONST_MODE_COOL,
|
|
60
|
+
CONST_MODE_AUTO,
|
|
61
|
+
CONST_MODE_DRY,
|
|
62
|
+
CONST_MODE_FAN,
|
|
63
|
+
]
|
|
64
|
+
|
|
65
|
+
CONST_HVAC_HEAT = "HEATING"
|
|
66
|
+
CONST_HVAC_DRY = "DRYING"
|
|
67
|
+
CONST_HVAC_FAN = "FAN"
|
|
68
|
+
CONST_HVAC_COOL = "COOLING"
|
|
69
|
+
CONST_HVAC_IDLE = "IDLE"
|
|
70
|
+
CONST_HVAC_OFF = "OFF"
|
|
71
|
+
CONST_HVAC_HOT_WATER = TYPE_HOT_WATER
|
|
72
|
+
|
|
73
|
+
TADO_MODES_TO_HVAC_ACTION = {
|
|
74
|
+
CONST_MODE_HEAT: CONST_HVAC_HEAT,
|
|
75
|
+
CONST_MODE_DRY: CONST_HVAC_DRY,
|
|
76
|
+
CONST_MODE_FAN: CONST_HVAC_FAN,
|
|
77
|
+
CONST_MODE_COOL: CONST_HVAC_COOL,
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
TADO_HVAC_ACTION_TO_MODES = {
|
|
81
|
+
CONST_HVAC_HEAT: CONST_MODE_HEAT,
|
|
82
|
+
CONST_HVAC_HOT_WATER: CONST_HVAC_HEAT,
|
|
83
|
+
CONST_HVAC_DRY: CONST_MODE_DRY,
|
|
84
|
+
CONST_HVAC_FAN: CONST_MODE_FAN,
|
|
85
|
+
CONST_HVAC_COOL: CONST_MODE_COOL,
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
# These modes will not allow a temp to be set
|
|
89
|
+
TADO_MODES_WITH_NO_TEMP_SETTING = [
|
|
90
|
+
CONST_MODE_AUTO,
|
|
91
|
+
CONST_MODE_DRY,
|
|
92
|
+
CONST_MODE_FAN,
|
|
93
|
+
]
|
|
94
|
+
|
|
95
|
+
DEFAULT_TADO_PRECISION = 0.1
|
|
96
|
+
DEFAULT_TADOX_PRECISION = 0.01
|
|
97
|
+
|
|
98
|
+
HOME_DOMAIN = "homes"
|
|
99
|
+
DEVICE_DOMAIN = "devices"
|
|
@@ -19,7 +19,3 @@ class TadoNoCredentialsException(TadoCredentialsException):
|
|
|
19
19
|
|
|
20
20
|
class TadoWrongCredentialsException(TadoCredentialsException):
|
|
21
21
|
"""Exception to indicate wrong credentials"""
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
class TadoRateLimitException(TadoException):
|
|
25
|
-
"""Exception to indicate API rate limit has been exceeded."""
|