Skip to content

Commit

Permalink
Call the mqtt loop
Browse files Browse the repository at this point in the history
  • Loading branch information
YtvwlD committed Dec 1, 2022
1 parent f7bdb13 commit f252f8f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,4 @@ def on_exit() -> None:

with sia as s:
logger.info("Waiting for events...")
while True:
sleep(500)
mqtt.loop_forever()

0 comments on commit f252f8f

Please # to comment.