Skip to content

Commit

Permalink
V0.9.3 (#58)
Browse files Browse the repository at this point in the history
* Bump version to 0.9.3
* SCG setpoints step value to 1 (#57)
* Adjusted test data
  • Loading branch information
dieselrabbit authored Oct 13, 2023
1 parent 7cda2ce commit 9e1819f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion screenlogicpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.9.2"
__version__ = "0.9.3"
# flake8: noqa F401
from screenlogicpy.gateway import ScreenLogicGateway
from screenlogicpy.const.common import ScreenLogicError, ScreenLogicRequestError
Expand Down
4 changes: 2 additions & 2 deletions screenlogicpy/requests/scg.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def decode_scg_config(buff: bytes, data: dict) -> None:
ATTR.UNIT: UNIT.PERCENT,
ATTR.MIN_SETPOINT: 0,
ATTR.MAX_SETPOINT: LIMIT_FOR_BODY[BODY_TYPE.POOL],
ATTR.STEP: 5,
ATTR.STEP: 1,
ATTR.BODY_TYPE: BODY_TYPE.POOL.value,
}

Expand All @@ -53,7 +53,7 @@ def decode_scg_config(buff: bytes, data: dict) -> None:
ATTR.UNIT: UNIT.PERCENT,
ATTR.MIN_SETPOINT: 0,
ATTR.MAX_SETPOINT: LIMIT_FOR_BODY[BODY_TYPE.SPA],
ATTR.STEP: 5,
ATTR.STEP: 1,
ATTR.BODY_TYPE: BODY_TYPE.SPA.value,
}

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="screenlogicpy",
version="0.9.2",
version="0.9.3",
author="Kevin Worrel",
author_email="[email protected]",
description="Interface for Pentair ScreenLogic connected pool controllers over IP via Python",
Expand Down
16 changes: 8 additions & 8 deletions tests/data_sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ class ScreenLogicResponseCollection:
"unit": "%",
"min_setpoint": 0,
"max_setpoint": 100,
"step": 5,
"step": 1,
"body_type": 0,
},
"spa_setpoint": {
Expand All @@ -770,7 +770,7 @@ class ScreenLogicResponseCollection:
"unit": "%",
"min_setpoint": 0,
"max_setpoint": 100,
"step": 5,
"step": 1,
"body_type": 1,
},
"super_chlor_timer": {
Expand Down Expand Up @@ -1781,7 +1781,7 @@ class ScreenLogicResponseCollection:
"unit": "%",
"min_setpoint": 0,
"max_setpoint": 100,
"step": 5,
"step": 1,
"body_type": 0,
},
"spa_setpoint": {
Expand All @@ -1790,7 +1790,7 @@ class ScreenLogicResponseCollection:
"unit": "%",
"min_setpoint": 0,
"max_setpoint": 100,
"step": 5,
"step": 1,
"body_type": 1,
},
"super_chlor_timer": {
Expand Down Expand Up @@ -3799,7 +3799,7 @@ class ScreenLogicResponseCollection:
"unit": "%",
"min_setpoint": 0,
"max_setpoint": 100,
"step": 5,
"step": 1,
"body_type": 0,
},
"spa_setpoint": {
Expand All @@ -3808,7 +3808,7 @@ class ScreenLogicResponseCollection:
"unit": "%",
"min_setpoint": 0,
"max_setpoint": 100,
"step": 5,
"step": 1,
"body_type": 1,
},
"super_chlor_timer": {
Expand Down Expand Up @@ -4309,7 +4309,7 @@ class ScreenLogicResponseCollection:
"unit": "%",
"min_setpoint": 0,
"max_setpoint": 100,
"step": 5,
"step": 1,
"body_type": 0,
},
"spa_setpoint": {
Expand All @@ -4318,7 +4318,7 @@ class ScreenLogicResponseCollection:
"unit": "%",
"min_setpoint": 0,
"max_setpoint": 100,
"step": 5,
"step": 1,
"body_type": 1,
},
"super_chlor_timer": {
Expand Down

0 comments on commit 9e1819f

Please sign in to comment.