python-omnilogic-local 0.13.0__py3-none-any.whl → 0.13.2__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pyomnilogic_local/models/filter_diagnostics.py +2 -2
- pyomnilogic_local/models/mspconfig.py +4 -1
- {python_omnilogic_local-0.13.0.dist-info → python_omnilogic_local-0.13.2.dist-info}/METADATA +1 -1
- {python_omnilogic_local-0.13.0.dist-info → python_omnilogic_local-0.13.2.dist-info}/RECORD +7 -7
- {python_omnilogic_local-0.13.0.dist-info → python_omnilogic_local-0.13.2.dist-info}/LICENSE +0 -0
- {python_omnilogic_local-0.13.0.dist-info → python_omnilogic_local-0.13.2.dist-info}/WHEEL +0 -0
- {python_omnilogic_local-0.13.0.dist-info → python_omnilogic_local-0.13.2.dist-info}/entry_points.txt +0 -0
@@ -23,7 +23,7 @@ class FilterDiagnostics(BaseModel):
|
|
23
23
|
orm_mode = True
|
24
24
|
|
25
25
|
def get_param_by_name(self, name: str) -> int:
|
26
|
-
return [param.value for param in self.parameters if param.name == name][0]
|
26
|
+
return [param.value for param in self.parameters if param.name == name][0] # pylint: disable=not-an-iterable
|
27
27
|
|
28
28
|
@staticmethod
|
29
29
|
def load_xml(xml: str) -> FilterDiagnostics:
|
@@ -31,7 +31,7 @@ class FilterDiagnostics(BaseModel):
|
|
31
31
|
xml,
|
32
32
|
# Some things will be lists or not depending on if a pool has more than one of that piece of equipment. Here we are coercing
|
33
33
|
# everything that *could* be a list into a list to make the parsing more consistent.
|
34
|
-
force_list=("Parameter"),
|
34
|
+
force_list=("Parameter", "Parameters"),
|
35
35
|
)
|
36
36
|
# The XML nests the Parameter entries under a Parameters entry, this is annoying to work with. Here we are adjusting the data to
|
37
37
|
# remove that extra level in the data
|
@@ -166,8 +166,11 @@ class MSPChlorinator(OmniBase):
|
|
166
166
|
class MSPCSAD(OmniBase):
|
167
167
|
omni_type: OmniType = OmniType.CSAD
|
168
168
|
enabled: Literal["yes", "no"] = Field(alias="Enabled")
|
169
|
-
|
169
|
+
type: CSADType | str = Field(alias="Type")
|
170
170
|
target_value: float = Field(alias="TargetValue")
|
171
|
+
calibration_value: float = Field(alias="CalibrationValue")
|
172
|
+
ph_low_alarm_value: float = Field(alias="PHLowAlarmLevel")
|
173
|
+
ph_high_alarm_value: float = Field(alias="PHHighAlarmLevel")
|
171
174
|
|
172
175
|
|
173
176
|
class MSPColorLogicLight(OmniBase):
|
{python_omnilogic_local-0.13.0.dist-info → python_omnilogic_local-0.13.2.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: python-omnilogic-local
|
3
|
-
Version: 0.13.
|
3
|
+
Version: 0.13.2
|
4
4
|
Summary: A library for local control of Hayward OmniHub/OmniLogic pool controllers using their local API
|
5
5
|
Home-page: https://github.com/cryptk/python-omnilogic-local
|
6
6
|
License: Apache-2.0
|
@@ -4,16 +4,16 @@ pyomnilogic_local/cli.py,sha256=jHAhN_VfjgEVbXlvLsPdgNSab-jY8XntpXoek0I1Vfc,3921
|
|
4
4
|
pyomnilogic_local/exceptions.py,sha256=7-EYTP-_VgGrA8WWGwQPUE1NGjJEDWB-ovyvSM2iaNY,164
|
5
5
|
pyomnilogic_local/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
pyomnilogic_local/models/const.py,sha256=j4HSiPJW5If296yJ-AiIsBI9EdlckF4QkVFIpTLb5C4,51
|
7
|
-
pyomnilogic_local/models/filter_diagnostics.py,sha256=
|
7
|
+
pyomnilogic_local/models/filter_diagnostics.py,sha256=bTcf5b94eUtP50vAEnr4rkG6Nczm8hCiBRjdZMY8uR0,1581
|
8
8
|
pyomnilogic_local/models/leadmessage.py,sha256=9r6PbIHHzD0tyeKiFUve3WLcjS8uL2Gj6r_96X7l5H8,407
|
9
|
-
pyomnilogic_local/models/mspconfig.py,sha256=
|
9
|
+
pyomnilogic_local/models/mspconfig.py,sha256=1TRyiG420JcLCa4WBdWHS94SeYvx80Kr-5tFYPSFeG8,10307
|
10
10
|
pyomnilogic_local/models/telemetry.py,sha256=86WPCmemNLwXAg-dHp1EvgpJzqQIHfwkNtO1eGF4eZk,10629
|
11
11
|
pyomnilogic_local/models/util.py,sha256=3Qch98NOl5eO-KIOUBnE9ar86MlzbZ0g2LRApMgj-co,1476
|
12
12
|
pyomnilogic_local/protocol.py,sha256=1Z7U70mV0sUlqrp3XK1Fvj6NuChRKLz0ejzKaQLSPE8,10194
|
13
13
|
pyomnilogic_local/types.py,sha256=km_tagtJ43m4_cIynalis7oiDa1LUUR-ta5B9HQUG1Q,7264
|
14
14
|
pyomnilogic_local/util.py,sha256=agbRBKnecrYycC9iUmo1aJDjbVg9VxHyq4QY0D8-bfA,359
|
15
|
-
python_omnilogic_local-0.13.
|
16
|
-
python_omnilogic_local-0.13.
|
17
|
-
python_omnilogic_local-0.13.
|
18
|
-
python_omnilogic_local-0.13.
|
19
|
-
python_omnilogic_local-0.13.
|
15
|
+
python_omnilogic_local-0.13.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
16
|
+
python_omnilogic_local-0.13.2.dist-info/METADATA,sha256=qsF0vCb3r0xKB3e7bFLTlE3D3Hy4CIcF5FgDvsQZU-w,2939
|
17
|
+
python_omnilogic_local-0.13.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
18
|
+
python_omnilogic_local-0.13.2.dist-info/entry_points.txt,sha256=PUvdumqSijeB0dHH_s5oE2TnWtPWdJSNpSOsn8yTtOo,56
|
19
|
+
python_omnilogic_local-0.13.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{python_omnilogic_local-0.13.0.dist-info → python_omnilogic_local-0.13.2.dist-info}/entry_points.txt
RENAMED
File without changes
|