pytouchlinesl 0.1.0__tar.gz → 0.1.2__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.
- {pytouchlinesl-0.1.0/pytouchlinesl.egg-info → pytouchlinesl-0.1.2}/PKG-INFO +12 -2
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/README.md +10 -0
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/pyproject.toml +2 -2
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/pytouchlinesl/client/client.py +2 -2
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2/pytouchlinesl.egg-info}/PKG-INFO +12 -2
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/pytouchlinesl.egg-info/requires.txt +1 -1
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/LICENSE +0 -0
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/pytouchlinesl/__init__.py +0 -0
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/pytouchlinesl/client/__init__.py +0 -0
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/pytouchlinesl/client/base.py +0 -0
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/pytouchlinesl/client/models/__init__.py +0 -0
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/pytouchlinesl/client/models/models.py +0 -0
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/pytouchlinesl/module.py +0 -0
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/pytouchlinesl/touchlinesl.py +0 -0
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/pytouchlinesl/zone.py +0 -0
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/pytouchlinesl.egg-info/SOURCES.txt +0 -0
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/pytouchlinesl.egg-info/dependency_links.txt +0 -0
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/pytouchlinesl.egg-info/top_level.txt +0 -0
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/setup.cfg +0 -0
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/tests/test_module.py +0 -0
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/tests/test_touchlinesl.py +0 -0
- {pytouchlinesl-0.1.0 → pytouchlinesl-0.1.2}/tests/test_zone.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pytouchlinesl
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: An API client for Roth's TouchlineSL control system.
|
|
5
5
|
Author-email: Jon Seager <jon@sgrs.uk>
|
|
6
6
|
Project-URL: Homepage, https://github.com/jnsgruk/pytouchlinesl
|
|
@@ -12,7 +12,7 @@ Requires-Python: >=3.10
|
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Requires-Dist: aiohttp
|
|
15
|
-
Requires-Dist: pydantic
|
|
15
|
+
Requires-Dist: pydantic==1.10.17
|
|
16
16
|
Provides-Extra: dev
|
|
17
17
|
Requires-Dist: pytest; extra == "dev"
|
|
18
18
|
Requires-Dist: pytest-asyncio; extra == "dev"
|
|
@@ -21,6 +21,8 @@ Requires-Dist: ruff; extra == "dev"
|
|
|
21
21
|
# A Python Library for Roth's TouchlineSL System
|
|
22
22
|
|
|
23
23
|
<a href="https://github.com/jnsgruk/pytouchlinesl/actions/workflows/test.yaml"><img src="https://github.com/jnsgruk/pytouchlinesl/actions/workflows/test.yaml/badge.svg"></a>
|
|
24
|
+
<a href="https://github.com/jnsgruk/pytouchlinesl/actions/workflows/publish.yaml"><img src="https://github.com/jnsgruk/pytouchlinesl/actions/workflows/publish.yaml/badge.svg"></a>
|
|
25
|
+
<a href="https://pypi.org/project/pytouchlinesl/"><img src="https://img.shields.io/pypi/v/pytouchlinesl"></a>
|
|
24
26
|
|
|
25
27
|
Roth TouchlineSL is a control system for underfloor heating, cooling and radiator control. They
|
|
26
28
|
have a public API which is documented on [their
|
|
@@ -50,6 +52,14 @@ the result is cached for 30 seconds. Any POST requests made (setting temperature
|
|
|
50
52
|
to schedules) will invalidate the cache, and all GET methods have a `refresh` argument that can be
|
|
51
53
|
used to force a refresh of the underlying data.
|
|
52
54
|
|
|
55
|
+
## Installation
|
|
56
|
+
|
|
57
|
+
The package can be installed from PyPi as usual:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
pip install pytouchlinesl
|
|
61
|
+
```
|
|
62
|
+
|
|
53
63
|
## Example Usage
|
|
54
64
|
|
|
55
65
|
```python
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# A Python Library for Roth's TouchlineSL System
|
|
2
2
|
|
|
3
3
|
<a href="https://github.com/jnsgruk/pytouchlinesl/actions/workflows/test.yaml"><img src="https://github.com/jnsgruk/pytouchlinesl/actions/workflows/test.yaml/badge.svg"></a>
|
|
4
|
+
<a href="https://github.com/jnsgruk/pytouchlinesl/actions/workflows/publish.yaml"><img src="https://github.com/jnsgruk/pytouchlinesl/actions/workflows/publish.yaml/badge.svg"></a>
|
|
5
|
+
<a href="https://pypi.org/project/pytouchlinesl/"><img src="https://img.shields.io/pypi/v/pytouchlinesl"></a>
|
|
4
6
|
|
|
5
7
|
Roth TouchlineSL is a control system for underfloor heating, cooling and radiator control. They
|
|
6
8
|
have a public API which is documented on [their
|
|
@@ -30,6 +32,14 @@ the result is cached for 30 seconds. Any POST requests made (setting temperature
|
|
|
30
32
|
to schedules) will invalidate the cache, and all GET methods have a `refresh` argument that can be
|
|
31
33
|
used to force a refresh of the underlying data.
|
|
32
34
|
|
|
35
|
+
## Installation
|
|
36
|
+
|
|
37
|
+
The package can be installed from PyPi as usual:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
pip install pytouchlinesl
|
|
41
|
+
```
|
|
42
|
+
|
|
33
43
|
## Example Usage
|
|
34
44
|
|
|
35
45
|
```python
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pytouchlinesl"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.2"
|
|
4
4
|
authors = [{ name = "Jon Seager", email = "jon@sgrs.uk" }]
|
|
5
5
|
description = "An API client for Roth's TouchlineSL control system."
|
|
6
6
|
readme = "README.md"
|
|
@@ -10,7 +10,7 @@ classifiers = [
|
|
|
10
10
|
"License :: OSI Approved :: Apache Software License",
|
|
11
11
|
"Operating System :: OS Independent",
|
|
12
12
|
]
|
|
13
|
-
dependencies = ["aiohttp", "pydantic
|
|
13
|
+
dependencies = ["aiohttp", "pydantic==1.10.17"]
|
|
14
14
|
|
|
15
15
|
[project.optional-dependencies]
|
|
16
16
|
dev = ["pytest", "pytest-asyncio", "ruff"]
|
|
@@ -143,12 +143,12 @@ class RothAPI(BaseClient):
|
|
|
143
143
|
# Empty intervals start/end with a value of 6100, which is invalid
|
|
144
144
|
# if sent in this request.
|
|
145
145
|
"p0Intervals": [
|
|
146
|
-
i.
|
|
146
|
+
i.dict(by_alias=True) for i in schedule.p0_intervals if i.start != 6100
|
|
147
147
|
],
|
|
148
148
|
"p1Days": schedule.p1_days,
|
|
149
149
|
"p1SetbackTemp": schedule.p1_setback_temp,
|
|
150
150
|
"p1Intervals": [
|
|
151
|
-
i.
|
|
151
|
+
i.dict(by_alias=True) for i in schedule.p1_intervals if i.start != 6100
|
|
152
152
|
],
|
|
153
153
|
},
|
|
154
154
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pytouchlinesl
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: An API client for Roth's TouchlineSL control system.
|
|
5
5
|
Author-email: Jon Seager <jon@sgrs.uk>
|
|
6
6
|
Project-URL: Homepage, https://github.com/jnsgruk/pytouchlinesl
|
|
@@ -12,7 +12,7 @@ Requires-Python: >=3.10
|
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Requires-Dist: aiohttp
|
|
15
|
-
Requires-Dist: pydantic
|
|
15
|
+
Requires-Dist: pydantic==1.10.17
|
|
16
16
|
Provides-Extra: dev
|
|
17
17
|
Requires-Dist: pytest; extra == "dev"
|
|
18
18
|
Requires-Dist: pytest-asyncio; extra == "dev"
|
|
@@ -21,6 +21,8 @@ Requires-Dist: ruff; extra == "dev"
|
|
|
21
21
|
# A Python Library for Roth's TouchlineSL System
|
|
22
22
|
|
|
23
23
|
<a href="https://github.com/jnsgruk/pytouchlinesl/actions/workflows/test.yaml"><img src="https://github.com/jnsgruk/pytouchlinesl/actions/workflows/test.yaml/badge.svg"></a>
|
|
24
|
+
<a href="https://github.com/jnsgruk/pytouchlinesl/actions/workflows/publish.yaml"><img src="https://github.com/jnsgruk/pytouchlinesl/actions/workflows/publish.yaml/badge.svg"></a>
|
|
25
|
+
<a href="https://pypi.org/project/pytouchlinesl/"><img src="https://img.shields.io/pypi/v/pytouchlinesl"></a>
|
|
24
26
|
|
|
25
27
|
Roth TouchlineSL is a control system for underfloor heating, cooling and radiator control. They
|
|
26
28
|
have a public API which is documented on [their
|
|
@@ -50,6 +52,14 @@ the result is cached for 30 seconds. Any POST requests made (setting temperature
|
|
|
50
52
|
to schedules) will invalidate the cache, and all GET methods have a `refresh` argument that can be
|
|
51
53
|
used to force a refresh of the underlying data.
|
|
52
54
|
|
|
55
|
+
## Installation
|
|
56
|
+
|
|
57
|
+
The package can be installed from PyPi as usual:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
pip install pytouchlinesl
|
|
61
|
+
```
|
|
62
|
+
|
|
53
63
|
## Example Usage
|
|
54
64
|
|
|
55
65
|
```python
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|