Melcloud move ConfigEntry declaration (#160890)

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
Erwin Douna
2026-02-12 21:32:54 +01:00
committed by GitHub
parent e145963d48
commit 8b674a44a1

View File

@@ -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]]]