Bump to aiohttp 3.8.0 (#58974)
This commit is contained in:
parent
23cb396aad
commit
10d6247fee
106 changed files with 221 additions and 142 deletions
|
@ -134,7 +134,7 @@ class ImapSensor(SensorEntity):
|
|||
idle = await self._connection.idle_start()
|
||||
await self._connection.wait_server_push()
|
||||
self._connection.idle_done()
|
||||
with async_timeout.timeout(10):
|
||||
async with async_timeout.timeout(10):
|
||||
await idle
|
||||
else:
|
||||
self.async_write_ha_state()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue