mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Add retry on empty modbus messages for serial protocol (#34678)
This commit is contained in:
parent
1b02410aa6
commit
1b3f9254bc
@ -188,6 +188,7 @@ class ModbusHub:
|
||||
bytesize=self._config_bytesize,
|
||||
parity=self._config_parity,
|
||||
timeout=self._config_timeout,
|
||||
retry_on_empty=True,
|
||||
)
|
||||
elif self._config_type == "rtuovertcp":
|
||||
self._client = ModbusTcpClient(
|
||||
|
Loading…
x
Reference in New Issue
Block a user