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.
This commit is contained in:
terual 2019-05-25 00:55:13 +02:00 committed by Paulus Schoutsen
parent e9f561e7ab
commit bad9ac5395

View File

@ -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')