modbus: Sensor caused hanging call_later method (#151033)

This commit is contained in:
jan iversen
2025-08-24 22:37:26 +02:00
committed by GitHub
parent 0dc2a5a02c
commit 91ef5fb429

View File

@@ -106,7 +106,6 @@ class ModbusRegisterSensor(BaseStructPlatform, RestoreSensor, SensorEntity):
async def _async_update(self) -> None:
"""Update the state of the sensor."""
self._cancel_call = None
raw_result = await self._hub.async_pb_call(
self._slave, self._address, self._count, self._input_type
)