Compare View

switch
from
...
to
 

Diff

Showing 2 changed files Side-by-side Diff

ssa/alarm/alarmist.py View file @ 7b0ebee
... ... @@ -220,7 +220,9 @@ class Alarmist:
220 220 self.lights.start_blink(0.3, lightstack.Channel.Buzzer)
221 221 else:
222 222 self.lights.stop_blink(lightstack.Channel.Red)
  223 + self.lights.off(lightstack.Channel.Red)
223 224 self.lights.stop_blink(lightstack.Channel.Buzzer)
  225 + self.lights.off(lightstack.Channel.Buzzer)
224 226  
225 227 # clear event flag
226 228 self.state_update_event.clear()
ssa/alarm/lightstack.py View file @ 7b0ebee
... ... @@ -92,7 +92,7 @@ class LightStack:
92 92 thread.cancel()
93 93 thread.join()
94 94 self.channel_threads[channel] = None
95   - self.off(channel)
  95 + self.off(channel)
96 96  
97 97 def get(self, channel):
98 98 return self.channel_states.get(channel, None)