Bump pymodbus v3.4.1. (#97612)
* Bump pymodbus v3.4.1. * Solve mypy problem.
This commit is contained in:
parent
9980051c3a
commit
d50b993f64
4 changed files with 3 additions and 5 deletions
|
@ -6,5 +6,5 @@
|
|||
"iot_class": "local_polling",
|
||||
"loggers": ["pymodbus"],
|
||||
"quality_scale": "gold",
|
||||
"requirements": ["pymodbus==3.3.1"]
|
||||
"requirements": ["pymodbus==3.4.1"]
|
||||
}
|
||||
|
|
|
@ -13,7 +13,6 @@ from pymodbus.client import (
|
|||
ModbusTcpClient,
|
||||
ModbusUdpClient,
|
||||
)
|
||||
from pymodbus.constants import Defaults
|
||||
from pymodbus.exceptions import ModbusException
|
||||
from pymodbus.pdu import ModbusResponse
|
||||
from pymodbus.transaction import ModbusAsciiFramer, ModbusRtuFramer, ModbusSocketFramer
|
||||
|
@ -301,7 +300,6 @@ class ModbusHub:
|
|||
else:
|
||||
self._pb_params["framer"] = ModbusSocketFramer
|
||||
|
||||
Defaults.Timeout = client_config[CONF_TIMEOUT]
|
||||
if CONF_MSG_WAIT in client_config:
|
||||
self._msg_wait = client_config[CONF_MSG_WAIT] / 1000
|
||||
elif self._config_type == SERIAL:
|
||||
|
|
|
@ -1842,7 +1842,7 @@ pymitv==1.4.3
|
|||
pymochad==0.2.0
|
||||
|
||||
# homeassistant.components.modbus
|
||||
pymodbus==3.3.1
|
||||
pymodbus==3.4.1
|
||||
|
||||
# homeassistant.components.monoprice
|
||||
pymonoprice==0.4
|
||||
|
|
|
@ -1364,7 +1364,7 @@ pymeteoclimatic==0.0.6
|
|||
pymochad==0.2.0
|
||||
|
||||
# homeassistant.components.modbus
|
||||
pymodbus==3.3.1
|
||||
pymodbus==3.4.1
|
||||
|
||||
# homeassistant.components.monoprice
|
||||
pymonoprice==0.4
|
||||
|
|
Loading…
Add table
Reference in a new issue