mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
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:
parent
e9f561e7ab
commit
bad9ac5395
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user