mirror of
https://github.com/home-assistant/core.git
synced 2025-09-10 15:21:38 +02:00
modbus: Sensor caused hanging call_later method (#151033)
This commit is contained in:
@@ -106,7 +106,6 @@ class ModbusRegisterSensor(BaseStructPlatform, RestoreSensor, SensorEntity):
|
|||||||
|
|
||||||
async def _async_update(self) -> None:
|
async def _async_update(self) -> None:
|
||||||
"""Update the state of the sensor."""
|
"""Update the state of the sensor."""
|
||||||
self._cancel_call = None
|
|
||||||
raw_result = await self._hub.async_pb_call(
|
raw_result = await self._hub.async_pb_call(
|
||||||
self._slave, self._address, self._count, self._input_type
|
self._slave, self._address, self._count, self._input_type
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user