Skip to content

Commit

Permalink
bump pymodbus to version 3.1.1 to align with core 2023.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven ten Raa committed Feb 2, 2023
1 parent b209b00 commit 18aca74
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ This integration uses pymodbus 3.0.2 or higher.
As of november 2022 the built-in home assistant modbus integration runs on a version < 3.0.0
If you install this integration the built-in modbus integration will stop to work due to breaking changes between 2.x.x and 3.0.0

## Important announcement:
Starting from homeassistant core version 2023.2.x the built-in modbus integration now uses pymodbus version 3.1.1.
Version 0.0.7 (and up) of this integration will also use the 3.1.1 pymodbus version.

Although core version >= 2023.2 and previous versions of this integration should be compatible it is recommended that all users update both core and this integration in the same patch round.
Since having multiple library version requirements might cause the built-in 3.1.1 library to be overwritten by 3.0.2 reference of versions 0.0.6 and earlier.
This could cause issues if you are using specific configuration options of the built-in modbus integration that weren't working with pymodbus 3.0.2 and were fixed in 3.1.1

## Manual
1. Clone the repository to your machine.
2. Copy the contents of custom_components/ to your machine running home assistant.
Expand Down
2 changes: 1 addition & 1 deletion custom_components/victron/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"documentation": "https://github.com/sfstar/hass-victron",
"issue_tracker": "https://github.com/sfstar/hass-victron/issues",
"requirements": [
"pymodbus==3.0.2"
"pymodbus==3.1.1"
],
"ssdp": [],
"zeroconf": [],
Expand Down
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Victron GX modbus TCP",
"render_readme": true,
"homeassistant": "2022.11",
"homeassistant": "2023.2.0",
"hacs": "1.28.4"
}

0 comments on commit 18aca74

Please sign in to comment.