We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1deb12f commit 9b89dc3Copy full SHA for 9b89dc3
custom_components/modbus/manifest.json
@@ -7,5 +7,5 @@
7
"issue_tracker": "https://github.com/pymodbus-dev/homeassistant_modbus/issues",
8
"loggers": ["pymodbus"],
9
"requirements": ["pymodbus==3.11.0"],
10
- "version": "1.0.1"
+ "version": "1.0.2"
11
}
custom_components/modbus/modbus.py
@@ -377,7 +377,7 @@ async def low_level_pb_call(
377
) -> ModbusPDU | None:
378
"""Call sync. pymodbus."""
379
kwargs: dict[str, Any] = (
380
- {ATTR_SLAVE: slave} if slave is not None else {ATTR_SLAVE: 1}
+ {"device_id": slave} if slave is not None else {"device_id": 1}
381
)
382
entry = self._pb_request[use_call]
383
0 commit comments