python-qube-heatpump 1.6.1__tar.gz → 1.6.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.
Files changed (31) hide show
  1. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/PKG-INFO +1 -1
  2. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/pyproject.toml +1 -1
  3. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/src/python_qube_heatpump/client.py +4 -1
  4. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  5. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  6. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  7. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/.github/workflows/ci.yml +0 -0
  8. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/.github/workflows/python-publish.yml +0 -0
  9. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/.gitignore +0 -0
  10. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/AGENTS.md +0 -0
  11. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/CLAUDE.md +0 -0
  12. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/LICENSE +0 -0
  13. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/README.md +0 -0
  14. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/docs/modbus-lijst-qube-totaal.pdf +0 -0
  15. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/pytest.ini +0 -0
  16. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/src/python_qube_heatpump/__init__.py +0 -0
  17. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/src/python_qube_heatpump/const.py +0 -0
  18. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/src/python_qube_heatpump/entities/__init__.py +0 -0
  19. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/src/python_qube_heatpump/entities/base.py +0 -0
  20. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/src/python_qube_heatpump/entities/binary_sensors.py +0 -0
  21. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/src/python_qube_heatpump/entities/sensors.py +0 -0
  22. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/src/python_qube_heatpump/entities/switches.py +0 -0
  23. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/src/python_qube_heatpump/models.py +0 -0
  24. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/src/python_qube_heatpump/network.py +0 -0
  25. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/src/python_qube_heatpump/py.typed +0 -0
  26. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/tests/conftest.py +0 -0
  27. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/tests/test_client.py +0 -0
  28. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/tests/test_const.py +0 -0
  29. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/tests/test_entities.py +0 -0
  30. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/tests/test_models.py +0 -0
  31. {python_qube_heatpump-1.6.1 → python_qube_heatpump-1.6.2}/tests/test_network.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-qube-heatpump
3
- Version: 1.6.1
3
+ Version: 1.6.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
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "python-qube-heatpump"
7
- version = "1.6.1"
7
+ version = "1.6.2"
8
8
  authors = [
9
9
  { name="MattieGit", email="6250046+MattieGit@users.noreply.github.com" },
10
10
  ]
@@ -105,7 +105,10 @@ class QubeClient:
105
105
  # Fetch operation sensors
106
106
  state.status_code = await _read(const.STATUS_CODE)
107
107
  state.compressor_speed = await _read(const.COMPRESSOR_SPEED)
108
- state.flow_rate = await _read(const.FLOW_RATE)
108
+ flow_rate = await _read(const.FLOW_RATE)
109
+ if flow_rate is not None and flow_rate < 0:
110
+ flow_rate = 0.0
111
+ state.flow_rate = flow_rate
109
112
 
110
113
  # Fetch setpoints (holding registers)
111
114
  state.setpoint_room_heat_day = await _read(const.SETPOINT_HEAT_DAY)