Skip to content

Fix renamed parameter#48

Merged
Breina merged 1 commit into
Breina:masterfrom
erwin314:master
Sep 4, 2025
Merged

Fix renamed parameter#48
Breina merged 1 commit into
Breina:masterfrom
erwin314:master

Conversation

@erwin314

@erwin314 erwin314 commented Sep 4, 2025

Copy link
Copy Markdown
Contributor

It seems that the pymodbus module has renamed a parameter from 'slave' to 'device_id'. Which breaks all method calls that use that parameter (write_registers, read_holding_registers, read_device_information).

This pull request renames all those parameters in schneider_modbus.py .

@Breina

Breina commented Sep 4, 2025

Copy link
Copy Markdown
Owner

Thanks for the PR! Testing now...

@Breina

Breina commented Sep 4, 2025

Copy link
Copy Markdown
Owner

Yep, works perfectly. Thanks a lot!

@Breina Breina merged commit 663d446 into Breina:master Sep 4, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants