python-qube-heatpump 1.4.0__tar.gz → 1.4.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_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/PKG-INFO +2 -2
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/pyproject.toml +2 -2
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/src/python_qube_heatpump/client.py +4 -4
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/.github/workflows/ci.yml +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/.github/workflows/python-publish.yml +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/.gitignore +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/AGENTS.md +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/CLAUDE.md +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/LICENSE +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/README.md +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/pytest.ini +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/src/python_qube_heatpump/__init__.py +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/src/python_qube_heatpump/const.py +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/src/python_qube_heatpump/entities/__init__.py +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/src/python_qube_heatpump/entities/base.py +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/src/python_qube_heatpump/entities/binary_sensors.py +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/src/python_qube_heatpump/entities/sensors.py +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/src/python_qube_heatpump/entities/switches.py +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/src/python_qube_heatpump/models.py +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/src/python_qube_heatpump/py.typed +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/tests/conftest.py +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/tests/test_client.py +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/tests/test_const.py +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/tests/test_entities.py +0 -0
- {python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/tests/test_models.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-qube-heatpump
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.2
|
|
4
4
|
Summary: Async Modbus client for Qube Heat Pumps
|
|
5
5
|
Project-URL: Homepage, https://github.com/MattieGit/python-qube-heatpump
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/MattieGit/python-qube-heatpump/issues
|
|
@@ -10,7 +10,7 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Requires-Python: >=3.12
|
|
13
|
-
Requires-Dist: pymodbus>=3.
|
|
13
|
+
Requires-Dist: pymodbus>=3.11.0
|
|
14
14
|
Provides-Extra: test
|
|
15
15
|
Requires-Dist: pytest; extra == 'test'
|
|
16
16
|
Requires-Dist: pytest-asyncio; extra == 'test'
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "python-qube-heatpump"
|
|
7
|
-
version = "1.4.
|
|
7
|
+
version = "1.4.2"
|
|
8
8
|
authors = [
|
|
9
9
|
{ name="MattieGit", email="6250046+MattieGit@users.noreply.github.com" },
|
|
10
10
|
]
|
|
@@ -17,7 +17,7 @@ classifiers = [
|
|
|
17
17
|
"Operating System :: OS Independent",
|
|
18
18
|
]
|
|
19
19
|
dependencies = [
|
|
20
|
-
"pymodbus>=3.
|
|
20
|
+
"pymodbus>=3.11.0",
|
|
21
21
|
]
|
|
22
22
|
|
|
23
23
|
[project.optional-dependencies]
|
{python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/src/python_qube_heatpump/client.py
RENAMED
|
@@ -135,11 +135,11 @@ class QubeClient:
|
|
|
135
135
|
try:
|
|
136
136
|
if reg_type == const.ModbusType.INPUT:
|
|
137
137
|
result = await self._client.read_input_registers(
|
|
138
|
-
address, count, device_id=self.unit
|
|
138
|
+
address, count=count, device_id=self.unit
|
|
139
139
|
)
|
|
140
140
|
else:
|
|
141
141
|
result = await self._client.read_holding_registers(
|
|
142
|
-
address, count, device_id=self.unit
|
|
142
|
+
address, count=count, device_id=self.unit
|
|
143
143
|
)
|
|
144
144
|
|
|
145
145
|
if result.isError():
|
|
@@ -239,11 +239,11 @@ class QubeClient:
|
|
|
239
239
|
|
|
240
240
|
if entity.input_type == InputType.INPUT_REGISTER:
|
|
241
241
|
result = await self._client.read_input_registers(
|
|
242
|
-
entity.address, count, device_id=self.unit
|
|
242
|
+
entity.address, count=count, device_id=self.unit
|
|
243
243
|
)
|
|
244
244
|
else: # HOLDING_REGISTER
|
|
245
245
|
result = await self._client.read_holding_registers(
|
|
246
|
-
entity.address, count, device_id=self.unit
|
|
246
|
+
entity.address, count=count, device_id=self.unit
|
|
247
247
|
)
|
|
248
248
|
|
|
249
249
|
if result.isError():
|
{python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/.github/ISSUE_TEMPLATE/bug_report.yml
RENAMED
|
File without changes
|
|
File without changes
|
{python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/.github/ISSUE_TEMPLATE/feature_request.yml
RENAMED
|
File without changes
|
|
File without changes
|
{python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/.github/workflows/python-publish.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/src/python_qube_heatpump/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/src/python_qube_heatpump/entities/base.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_qube_heatpump-1.4.0 → python_qube_heatpump-1.4.2}/src/python_qube_heatpump/models.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|