Skip to content

Commit

Permalink
Increase allowed time offset
Browse files Browse the repository at this point in the history
  • Loading branch information
YtvwlD committed Feb 20, 2024
1 parent 102b0b1 commit d259fab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ def publish_to_mqtt(self) -> None:
sia = SIAClient(
config["sia"]["bind"],
config["sia"]["port"],
[SIAAccount(account) for account in config["sia"]["accounts"]],
[
SIAAccount(account, allowed_timeband=(300, 300))
for account in config["sia"]["accounts"]
],
handle_event,
)
mqtt = MqttClient()
Expand Down

0 comments on commit d259fab

Please sign in to comment.