pymacon 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.
pymacon/__init__.py ADDED
@@ -0,0 +1,88 @@
1
+ """Async client for the Macon Heat Pump Controller."""
2
+
3
+ from .client import (
4
+ ArcticControllerClient,
5
+ SnapshotCallback,
6
+ StatusCallback,
7
+ )
8
+ from .exceptions import (
9
+ ArcticAuthenticationError,
10
+ ArcticCertificateError,
11
+ ArcticCommandConflictError,
12
+ ArcticCommandValidationError,
13
+ ArcticConnectionError,
14
+ ArcticControllerError,
15
+ ArcticControlUnavailableError,
16
+ ArcticPairingError,
17
+ ArcticProtocolError,
18
+ )
19
+ from .models import (
20
+ PROTOCOL_VERSION,
21
+ ClientStatus,
22
+ CommandResult,
23
+ ComponentState,
24
+ ControllerCapabilities,
25
+ ControllerState,
26
+ ErrorState,
27
+ PairingResult,
28
+ ReadingState,
29
+ SetpointCapabilities,
30
+ SetpointRange,
31
+ SetpointState,
32
+ StateSnapshot,
33
+ TemperatureState,
34
+ )
35
+
36
+ # Keep the protocol-era names available while presenting Macon names to new
37
+ # integrations and applications.
38
+ MaconClient = ArcticControllerClient
39
+ MaconControllerClient = ArcticControllerClient
40
+ MaconAuthenticationError = ArcticAuthenticationError
41
+ MaconCertificateError = ArcticCertificateError
42
+ MaconCommandConflictError = ArcticCommandConflictError
43
+ MaconCommandValidationError = ArcticCommandValidationError
44
+ MaconConnectionError = ArcticConnectionError
45
+ MaconControllerError = ArcticControllerError
46
+ MaconControlUnavailableError = ArcticControlUnavailableError
47
+ MaconPairingError = ArcticPairingError
48
+ MaconProtocolError = ArcticProtocolError
49
+
50
+ __all__ = [
51
+ "PROTOCOL_VERSION",
52
+ "ArcticAuthenticationError",
53
+ "ArcticCertificateError",
54
+ "ArcticCommandConflictError",
55
+ "ArcticCommandValidationError",
56
+ "ArcticConnectionError",
57
+ "ArcticControlUnavailableError",
58
+ "ArcticControllerClient",
59
+ "ArcticControllerError",
60
+ "ArcticPairingError",
61
+ "ArcticProtocolError",
62
+ "ClientStatus",
63
+ "CommandResult",
64
+ "ComponentState",
65
+ "ControllerCapabilities",
66
+ "ControllerState",
67
+ "ErrorState",
68
+ "MaconAuthenticationError",
69
+ "MaconCertificateError",
70
+ "MaconClient",
71
+ "MaconCommandConflictError",
72
+ "MaconCommandValidationError",
73
+ "MaconConnectionError",
74
+ "MaconControlUnavailableError",
75
+ "MaconControllerClient",
76
+ "MaconControllerError",
77
+ "MaconPairingError",
78
+ "MaconProtocolError",
79
+ "PairingResult",
80
+ "ReadingState",
81
+ "SetpointCapabilities",
82
+ "SetpointRange",
83
+ "SetpointState",
84
+ "SnapshotCallback",
85
+ "StateSnapshot",
86
+ "StatusCallback",
87
+ "TemperatureState",
88
+ ]