diff --git a/homeassistant/components/led_ble/light.py b/homeassistant/components/led_ble/light.py index 5fba73ef808..a1da82dfe6d 100644 --- a/homeassistant/components/led_ble/light.py +++ b/homeassistant/components/led_ble/light.py @@ -38,7 +38,7 @@ async def async_setup_entry( async_add_entities([LEDBLEEntity(data.coordinator, data.device, entry.title)]) -class LEDBLEEntity(CoordinatorEntity, LightEntity): +class LEDBLEEntity(CoordinatorEntity[DataUpdateCoordinator[None]], LightEntity): """Representation of LEDBLE device.""" _attr_supported_color_modes = {ColorMode.RGB, ColorMode.WHITE} @@ -47,7 +47,7 @@ class LEDBLEEntity(CoordinatorEntity, LightEntity): _attr_supported_features = LightEntityFeature.EFFECT def __init__( - self, coordinator: DataUpdateCoordinator, device: LEDBLE, name: str + self, coordinator: DataUpdateCoordinator[None], device: LEDBLE, name: str ) -> None: """Initialize an ledble light.""" super().__init__(coordinator) diff --git a/homeassistant/components/led_ble/models.py b/homeassistant/components/led_ble/models.py index 611d484ea61..0eda9439f11 100644 --- a/homeassistant/components/led_ble/models.py +++ b/homeassistant/components/led_ble/models.py @@ -14,4 +14,4 @@ class LEDBLEData: title: str device: LEDBLE - coordinator: DataUpdateCoordinator + coordinator: DataUpdateCoordinator[None]