mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Tado, setup to return False and not ConfigEntryNotReady on RuntimeError (#53637)
This commit is contained in:
parent
67ac87e915
commit
7bd46b7705
@ -56,7 +56,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
return False
|
||||
except RuntimeError as exc:
|
||||
_LOGGER.error("Failed to setup tado: %s", exc)
|
||||
return ConfigEntryNotReady
|
||||
return False
|
||||
except requests.exceptions.Timeout as ex:
|
||||
raise ConfigEntryNotReady from ex
|
||||
except requests.exceptions.HTTPError as ex:
|
||||
|
Loading…
x
Reference in New Issue
Block a user