Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Galorhallen committed Dec 31, 2023
1 parent e140c01 commit 0ceff84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ async def main(controller: GoveeController):
pass
finally:
print("Closing Loop")
controller.clenaup()
controller.cleanup()
loop.close()
2 changes: 1 addition & 1 deletion src/govee_local_api/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async def start(self):
if self._update_enabled:
self.send_update_message()

def clenaup(self):
def cleanup(self):
self.set_update_enabled(False)
self.set_discovery_enabled(False)

Expand Down

0 comments on commit 0ceff84

Please sign in to comment.