Add missing type for CoordinatorEntity in Brother sensor platform (#80197)
Add missing type for CoordinatorEntitypull/80492/head
parent
fc32071562
commit
0daa5b55b5
|
@ -395,7 +395,9 @@ async def async_setup_entry(
|
|||
async_add_entities(sensors, False)
|
||||
|
||||
|
||||
class BrotherPrinterSensor(CoordinatorEntity, SensorEntity):
|
||||
class BrotherPrinterSensor(
|
||||
CoordinatorEntity[BrotherDataUpdateCoordinator], SensorEntity
|
||||
):
|
||||
"""Define an Brother Printer sensor."""
|
||||
|
||||
_attr_has_entity_name = True
|
||||
|
|
Loading…
Reference in New Issue