Skip to content

Commit

Permalink
Bump pymodbus to version 3.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mh-superbox committed Oct 31, 2023
1 parent 461d7d0 commit 48d1f2c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump pymodbus to version 3.5.4

## [3.1.0] - 2023-10-03

### Added
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ source .venv/bin/activate
Install the development dependencies:

```bash
pip install -e .[lint,format,audit,tests]
pip install -e ".[lint,format,audit,tests]"
```

Now you can start unipi-control with `unipi-control`.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ classifiers = [
requires-python = ">= 3.8"
dependencies = [
"aiomqtt==1.2.1",
"pymodbus[serial]==3.5.2",
"pymodbus[serial]==3.5.4",
"pyyaml==6.0.1"
]
dynamic = ["version"]
Expand Down
2 changes: 1 addition & 1 deletion unipi_control/modbus.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async def check_modbus_call(
try:
response = await callback(**data)

if response and response.isError(): # type: ignore[no-untyped-call]
if response and response.isError():
response = None
except ModbusException as error:
UNIPI_LOGGER.error("%s %s", LogPrefix.MODBUS, error)
Expand Down

0 comments on commit 48d1f2c

Please sign in to comment.