From 6cd96adadaa3a799491bea7ecbf45b7858e67516 Mon Sep 17 00:00:00 2001 From: Greg Sandstrom Date: Wed, 2 Aug 2023 15:04:24 -0700 Subject: [PATCH] Revert "always try to turn off a channel when stopping blink even if there is no running thread" This reverts commit c27f3d786e5b6d00b8c300d20f5e25bf1ef655af. --- ssa/alarm/lightstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssa/alarm/lightstack.py b/ssa/alarm/lightstack.py index 2c5b584..9a75f6d 100644 --- a/ssa/alarm/lightstack.py +++ b/ssa/alarm/lightstack.py @@ -92,7 +92,7 @@ class LightStack: thread.cancel() thread.join() self.channel_threads[channel] = None - self.off(channel) + self.off(channel) def get(self, channel): return self.channel_states.get(channel, None) -- 1.9.1