mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Fix lookin failing to setup during firmware updates (#61305)
This commit is contained in:
parent
9ffa3b21f6
commit
4933189ad9
@ -1,6 +1,7 @@
|
||||
"""The lookin integration."""
|
||||
from __future__ import annotations
|
||||
|
||||
import asyncio
|
||||
from datetime import timedelta
|
||||
import logging
|
||||
|
||||
@ -37,7 +38,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
try:
|
||||
lookin_device = await lookin_protocol.get_info()
|
||||
devices = await lookin_protocol.get_devices()
|
||||
except aiohttp.ClientError as ex:
|
||||
except (asyncio.TimeoutError, aiohttp.ClientError) as ex:
|
||||
raise ConfigEntryNotReady from ex
|
||||
|
||||
meteo_coordinator: DataUpdateCoordinator = DataUpdateCoordinator(
|
||||
|
Loading…
x
Reference in New Issue
Block a user