mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Add missing type for CoordinatorEntity in Brother sensor platform (#80197)
Add missing type for CoordinatorEntity
This commit is contained in:
parent
fc32071562
commit
0daa5b55b5
@ -395,7 +395,9 @@ async def async_setup_entry(
|
|||||||
async_add_entities(sensors, False)
|
async_add_entities(sensors, False)
|
||||||
|
|
||||||
|
|
||||||
class BrotherPrinterSensor(CoordinatorEntity, SensorEntity):
|
class BrotherPrinterSensor(
|
||||||
|
CoordinatorEntity[BrotherDataUpdateCoordinator], SensorEntity
|
||||||
|
):
|
||||||
"""Define an Brother Printer sensor."""
|
"""Define an Brother Printer sensor."""
|
||||||
|
|
||||||
_attr_has_entity_name = True
|
_attr_has_entity_name = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user