Skip to content

Commit

Permalink
Fix command not working immediately after connection
Browse files Browse the repository at this point in the history
  • Loading branch information
LennP committed Nov 12, 2024
1 parent 3d59de3 commit 2228a38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions motionblindsble/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,9 @@ async def establish_connection(self) -> bool:

self.refresh_disconnect_timer()

# Sleep to wait for motor to finish processing
await sleep(0.2)

return True

def is_connected(self) -> bool:
Expand Down

0 comments on commit 2228a38

Please sign in to comment.