diff --git a/homeassistant/components/melcloud/coordinator.py b/homeassistant/components/melcloud/coordinator.py index 3b4c6f57f5b..3ffc9460242 100644 --- a/homeassistant/components/melcloud/coordinator.py +++ b/homeassistant/components/melcloud/coordinator.py @@ -34,6 +34,8 @@ RETRY_INTERVAL_SECONDS = 30 # Number of consecutive failures before marking device unavailable MAX_CONSECUTIVE_FAILURES = 3 +type MelCloudConfigEntry = ConfigEntry[dict[str, list[MelCloudDeviceUpdateCoordinator]]] + class MelCloudDeviceUpdateCoordinator(DataUpdateCoordinator[None]): """Per-device coordinator for MELCloud data updates.""" @@ -188,6 +190,3 @@ class MelCloudDeviceUpdateCoordinator(DataUpdateCoordinator[None]): self.device_available = False await self.async_request_refresh() - - -type MelCloudConfigEntry = ConfigEntry[dict[str, list[MelCloudDeviceUpdateCoordinator]]]