From 8c9a0ea5937722551a7f94490587d3981f269f45 Mon Sep 17 00:00:00 2001 From: snicker Date: Thu, 13 May 2021 08:08:40 -0700 Subject: [PATCH] sanitize commands --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index ea8acc3..bebdb5c 100644 --- a/run.py +++ b/run.py @@ -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: