Skip to content

Commit 6041ea0

Browse files
committed
Branch p7.
1 parent 2093063 commit 6041ea0

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

custom_components/modbus/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"iot_class": "local_polling",
77
"loggers": ["pymodbus"],
88
"requirements": ["pymodbus==3.9.2"],
9-
"version": "1.6.0"
9+
"version": "1.7.0"
1010
}

custom_components/modbus/modbus.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ def __init__(self, hass: HomeAssistant, client_config: dict[str, Any]) -> None:
253253
self._client: (
254254
AsyncModbusSerialClient | AsyncModbusTcpClient | AsyncModbusUdpClient | None
255255
) = None
256-
self._in_error = False
257256
self._lock = asyncio.Lock()
258257
self.event_connected = asyncio.Event()
259258
self.hass = hass
@@ -408,7 +407,6 @@ async def low_level_pb_call(
408407
error = f"Error: device: {slave} address: {address} -> pymodbus returned isError True"
409408
self._log_error(error)
410409
return None
411-
self._in_error = False
412410
return result
413411

414412
async def async_pb_call(

0 commit comments

Comments
 (0)