Remove double timeout from gogogate2 (#42052)

This commit is contained in:
J. Nick Koston
2020-10-18 15:46:13 -05:00
committed by GitHub
parent 6ab9b7355f
commit c86dfeb6e2

View File

@@ -3,7 +3,6 @@ from datetime import timedelta
import logging
from typing import Awaitable, Callable, NamedTuple, Optional
import async_timeout
from gogogate2_api import AbstractGateApi, GogoGate2Api, ISmartGateApi
from gogogate2_api.common import AbstractDoor
@@ -71,7 +70,6 @@ def get_data_update_coordinator(
async def async_update_data():
try:
async with async_timeout.timeout(3):
return await hass.async_add_executor_job(api.info)
except Exception as exception:
raise UpdateFailed(