Skip to content

Commit

Permalink
reduce sleep vaule to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
bbr111 committed Nov 10, 2024
1 parent ddfa3f4 commit c31c7b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bydhvs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ async def poll(self) -> None:
data = await self.receive_response()
if data and self.check_packet(data):
# Wait time as per original code (e.g., 8 seconds)
await asyncio.sleep(8)
await asyncio.sleep(3)
self.myState = 6
else:
_LOGGER.error("Invalid or no data received in state 5")
Expand Down Expand Up @@ -735,7 +735,7 @@ async def poll(self) -> None:
data = await self.receive_response()
if data and self.check_packet(data):
# Wait time as per original code (e.g., 8 seconds)
await asyncio.sleep(8)
await asyncio.sleep(3)
self.myState = 17
else:
_LOGGER.error("Invalid or no data received in state 16")
Expand Down

0 comments on commit c31c7b9

Please sign in to comment.