mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 05:37:44 +00:00
Bump pymodbus v3.4.1. (#97612)
* Bump pymodbus v3.4.1. * Solve mypy problem.
This commit is contained in:
parent
9980051c3a
commit
d50b993f64
@ -6,5 +6,5 @@
|
|||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"loggers": ["pymodbus"],
|
"loggers": ["pymodbus"],
|
||||||
"quality_scale": "gold",
|
"quality_scale": "gold",
|
||||||
"requirements": ["pymodbus==3.3.1"]
|
"requirements": ["pymodbus==3.4.1"]
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,6 @@ from pymodbus.client import (
|
|||||||
ModbusTcpClient,
|
ModbusTcpClient,
|
||||||
ModbusUdpClient,
|
ModbusUdpClient,
|
||||||
)
|
)
|
||||||
from pymodbus.constants import Defaults
|
|
||||||
from pymodbus.exceptions import ModbusException
|
from pymodbus.exceptions import ModbusException
|
||||||
from pymodbus.pdu import ModbusResponse
|
from pymodbus.pdu import ModbusResponse
|
||||||
from pymodbus.transaction import ModbusAsciiFramer, ModbusRtuFramer, ModbusSocketFramer
|
from pymodbus.transaction import ModbusAsciiFramer, ModbusRtuFramer, ModbusSocketFramer
|
||||||
@ -301,7 +300,6 @@ class ModbusHub:
|
|||||||
else:
|
else:
|
||||||
self._pb_params["framer"] = ModbusSocketFramer
|
self._pb_params["framer"] = ModbusSocketFramer
|
||||||
|
|
||||||
Defaults.Timeout = client_config[CONF_TIMEOUT]
|
|
||||||
if CONF_MSG_WAIT in client_config:
|
if CONF_MSG_WAIT in client_config:
|
||||||
self._msg_wait = client_config[CONF_MSG_WAIT] / 1000
|
self._msg_wait = client_config[CONF_MSG_WAIT] / 1000
|
||||||
elif self._config_type == SERIAL:
|
elif self._config_type == SERIAL:
|
||||||
|
@ -1842,7 +1842,7 @@ pymitv==1.4.3
|
|||||||
pymochad==0.2.0
|
pymochad==0.2.0
|
||||||
|
|
||||||
# homeassistant.components.modbus
|
# homeassistant.components.modbus
|
||||||
pymodbus==3.3.1
|
pymodbus==3.4.1
|
||||||
|
|
||||||
# homeassistant.components.monoprice
|
# homeassistant.components.monoprice
|
||||||
pymonoprice==0.4
|
pymonoprice==0.4
|
||||||
|
@ -1364,7 +1364,7 @@ pymeteoclimatic==0.0.6
|
|||||||
pymochad==0.2.0
|
pymochad==0.2.0
|
||||||
|
|
||||||
# homeassistant.components.modbus
|
# homeassistant.components.modbus
|
||||||
pymodbus==3.3.1
|
pymodbus==3.4.1
|
||||||
|
|
||||||
# homeassistant.components.monoprice
|
# homeassistant.components.monoprice
|
||||||
pymonoprice==0.4
|
pymonoprice==0.4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user