Bump to aiohttp 3.8.0 (#58974)

This commit is contained in:
J. Nick Koston 2021-11-04 10:07:50 -05:00 committed by GitHub
parent 23cb396aad
commit 10d6247fee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
106 changed files with 221 additions and 142 deletions

View file

@ -280,7 +280,7 @@ class HueBridge:
async def authenticate_bridge(hass: core.HomeAssistant, bridge: aiohue.Bridge):
"""Create a bridge object and verify authentication."""
try:
with async_timeout.timeout(10):
async with async_timeout.timeout(10):
# Create username if we don't have one
if not bridge.username:
device_name = unicode_slug.slugify(