From 0daa5b55b5a97d2c9be72e2f17b67d33f12ecb7d Mon Sep 17 00:00:00 2001 From: Maciej Bieniek Date: Wed, 12 Oct 2022 21:02:25 +0200 Subject: [PATCH] Add missing type for CoordinatorEntity in Brother sensor platform (#80197) Add missing type for CoordinatorEntity --- homeassistant/components/brother/sensor.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/brother/sensor.py b/homeassistant/components/brother/sensor.py index 2b82ac0cdb8..adb17d4283d 100644 --- a/homeassistant/components/brother/sensor.py +++ b/homeassistant/components/brother/sensor.py @@ -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