Skip to content

Commit

Permalink
Merge pull request #292 from impulsio/patch-1
Browse files Browse the repository at this point in the history
Update open & close function in the documentation
  • Loading branch information
albertogeniola authored Apr 1, 2023
2 parents 890c374 + cb93183 commit de1c226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ async def main():

# To open the door, uncomment the following:
#print(f"Opening door {dev.name}...")
#await dev.open(channel=0)
#await dev.async_open(channel=0)
#print("Door opened!")
#
# Wait a bit before closing it again
#await asyncio.sleep(5)
#
#print(f"Closing door {dev.name}...")
#await dev.close()
#await dev.async_close()
# print(f"Door closed!")

# Close the manager and logout from http_api
Expand Down

0 comments on commit de1c226

Please sign in to comment.