Add missing type for CoordinatorEntity in Brother sensor platform (#80197)
Add missing type for CoordinatorEntity
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user