mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
Improve ld2410_ble
generic typing (#86258)
This commit is contained in:
@@ -101,7 +101,7 @@ async def async_setup_entry(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class LD2410BLESensor(CoordinatorEntity, SensorEntity):
|
class LD2410BLESensor(CoordinatorEntity[LD2410BLECoordinator], SensorEntity):
|
||||||
"""Moving/static target distance sensor for LD2410BLE."""
|
"""Moving/static target distance sensor for LD2410BLE."""
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
|
Reference in New Issue
Block a user