python-omnilogic-local 0.13.1__tar.gz → 0.13.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.
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/PKG-INFO +1 -1
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/models/filter_diagnostics.py +2 -2
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/models/mspconfig.py +3 -0
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyproject.toml +2 -2
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/LICENSE +0 -0
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/README.md +0 -0
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/__init__.py +0 -0
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/api.py +0 -0
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/cli.py +0 -0
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/exceptions.py +0 -0
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/models/__init__.py +0 -0
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/models/const.py +0 -0
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/models/leadmessage.py +0 -0
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/models/telemetry.py +0 -0
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/models/util.py +0 -0
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/protocol.py +0 -0
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/types.py +0 -0
- {python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/util.py +0 -0
@@ -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
|
@@ -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
|
@@ -168,6 +168,9 @@ class MSPCSAD(OmniBase):
|
|
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):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "python-omnilogic-local"
|
3
|
-
version = "0.13.
|
3
|
+
version = "0.13.2"
|
4
4
|
description = "A library for local control of Hayward OmniHub/OmniLogic pool controllers using their local API"
|
5
5
|
authors = ["cryptk <cryptk@users.noreply.github.com>", "djtimca", "garionphx"]
|
6
6
|
license = "Apache-2.0"
|
@@ -26,7 +26,7 @@ xmltodict = "^0.13.0"
|
|
26
26
|
[tool.poetry.group.dev.dependencies]
|
27
27
|
pre-commit = "^3.0.0"
|
28
28
|
mypy = "^1.2.0"
|
29
|
-
pylint = "^2.
|
29
|
+
pylint = "^3.2.3"
|
30
30
|
pydantic = "^1.10.7"
|
31
31
|
pytest = "^7.3.1"
|
32
32
|
pytest-cov = "^4.1.0"
|
File without changes
|
File without changes
|
{python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/exceptions.py
RENAMED
File without changes
|
{python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/models/__init__.py
RENAMED
File without changes
|
{python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/models/const.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/models/util.py
RENAMED
File without changes
|
{python_omnilogic_local-0.13.1 → python_omnilogic_local-0.13.2}/pyomnilogic_local/protocol.py
RENAMED
File without changes
|
File without changes
|
File without changes
|