Skip to content

Commit

Permalink
Fix black
Browse files Browse the repository at this point in the history
  • Loading branch information
RobBie1221 committed Aug 14, 2024
1 parent 0e57919 commit 4d4567e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/nefiteasy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ async def connect(self) -> None:

try:
_LOGGER.debug("Wait for message event")

await asyncio.wait_for(
self.nefit.xmppclient.message_event.wait(), timeout=29.0
)
Expand All @@ -166,7 +166,7 @@ async def connect(self) -> None:
_LOGGER.debug("No connection while testing connection.")
else:
_LOGGER.debug("Message event received")

self.nefit.xmppclient.message_event.clear()

# No exception and no auth error
Expand Down

0 comments on commit 4d4567e

Please sign in to comment.