pyplusportal 0.1.0__py3-none-any.whl
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.
- pyplusportal/__init__.py +41 -0
- pyplusportal/cli.py +728 -0
- pyplusportal/client.py +436 -0
- pyplusportal/const.py +53 -0
- pyplusportal/cost.py +225 -0
- pyplusportal/exceptions.py +28 -0
- pyplusportal/json.py +41 -0
- pyplusportal/models.py +421 -0
- pyplusportal-0.1.0.dist-info/METADATA +198 -0
- pyplusportal-0.1.0.dist-info/RECORD +13 -0
- pyplusportal-0.1.0.dist-info/WHEEL +4 -0
- pyplusportal-0.1.0.dist-info/entry_points.txt +2 -0
- pyplusportal-0.1.0.dist-info/licenses/LICENSE +21 -0
pyplusportal/__init__.py
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"""Async client for PlusPortal energy customer portals.
|
|
2
|
+
|
|
3
|
+
PlusPortal is a white-label customer portal by Thüga SmartService GmbH, run by
|
|
4
|
+
German utilities under a per-tenant subdomain such as ``123456.plusportal.de``.
|
|
5
|
+
This package reads metering data out of it and knows nothing about Home
|
|
6
|
+
Assistant, so it can be used and tested on its own.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from __future__ import annotations
|
|
10
|
+
|
|
11
|
+
from .exceptions import (
|
|
12
|
+
AuthenticationError,
|
|
13
|
+
ParseError,
|
|
14
|
+
PlusPortalError,
|
|
15
|
+
PortalUnavailableError,
|
|
16
|
+
)
|
|
17
|
+
from .models import (
|
|
18
|
+
Channel,
|
|
19
|
+
MeterPoint,
|
|
20
|
+
Overview,
|
|
21
|
+
Reading,
|
|
22
|
+
Resolution,
|
|
23
|
+
Session,
|
|
24
|
+
Taf,
|
|
25
|
+
ValueState,
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
__all__ = [
|
|
29
|
+
"AuthenticationError",
|
|
30
|
+
"Channel",
|
|
31
|
+
"MeterPoint",
|
|
32
|
+
"Overview",
|
|
33
|
+
"ParseError",
|
|
34
|
+
"PlusPortalError",
|
|
35
|
+
"PortalUnavailableError",
|
|
36
|
+
"Reading",
|
|
37
|
+
"Resolution",
|
|
38
|
+
"Session",
|
|
39
|
+
"Taf",
|
|
40
|
+
"ValueState",
|
|
41
|
+
]
|