Adjust timeout
This commit is contained in:
parent
34fcb1fc0a
commit
5bf7b519b7
1 changed files with 2 additions and 2 deletions
4
bot.py
4
bot.py
|
@ -67,7 +67,7 @@ class Bot:
|
|||
def _take_photo_blocking(
|
||||
self,
|
||||
adjust_perspective=True,
|
||||
timeout: float = 5.0,
|
||||
timeout: float = 10.0,
|
||||
) -> List[cv2.typing.MatLike]:
|
||||
privacy_mode = self.tapo.getPrivacyMode()
|
||||
|
||||
|
@ -295,7 +295,7 @@ class Bot:
|
|||
)
|
||||
|
||||
async def take_photo(
|
||||
self, adjust_perspective=True, timeout=5.0
|
||||
self, adjust_perspective=True, timeout=10.0
|
||||
) -> List[cv2.typing.MatLike]:
|
||||
item_state = await self._get_item_state()
|
||||
if item_state == "OFF":
|
||||
|
|
Loading…
Reference in a new issue