From bad9ac539557d9332596c91843a8f63f210cf7fa Mon Sep 17 00:00:00 2001 From: terual Date: Sat, 25 May 2019 00:55:13 +0200 Subject: [PATCH] Fix Hue bridge timeout (#24084) * Change timeout from 5 seconds to 10 seconds Underpowered platforms timeout during configuration/discovery of a Hue bridge on a new install. Increasing this timeout fixes this. --- homeassistant/components/hue/bridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/hue/bridge.py b/homeassistant/components/hue/bridge.py index 0610278de7b..6fa6bad2f47 100644 --- a/homeassistant/components/hue/bridge.py +++ b/homeassistant/components/hue/bridge.py @@ -153,7 +153,7 @@ async def get_bridge(hass, host, username=None): ) try: - with async_timeout.timeout(5): + with async_timeout.timeout(10): # Create username if we don't have one if not username: await bridge.create_user('home-assistant')