Skip to content

Commit

Permalink
sanitize commands
Browse files Browse the repository at this point in the history
  • Loading branch information
snicker committed May 13, 2021
1 parent 799512e commit 8c9a0ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def cycle(self):
timeout = 10
if brightness_cmd:
timeout = 20
heyu.send_command_raw(" ".join(cmd), timeout=timeout)
heyu.send_command_raw(" ".join([str(c) for c in cmd]), timeout=timeout)
if brightness_cmd:
self.publish(addr, 'on', self.brightness.get(addr))
else:
Expand Down

0 comments on commit 8c9a0ea

Please sign in to comment.