set all leds off on disconnect
This commit is contained in:
parent
cd35ccdff4
commit
60d8702359
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ class State:
|
||||||
else:
|
else:
|
||||||
for btn in BUTTONS.all:
|
for btn in BUTTONS.all:
|
||||||
self.ctrl.set_color(key_num=btn.num, color=(0, 0, 0))
|
self.ctrl.set_color(key_num=btn.num, color=(0, 0, 0))
|
||||||
|
return None
|
||||||
if "isMuted" in changes:
|
if "isMuted" in changes:
|
||||||
key_num = BUTTONS.mic.num
|
key_num = BUTTONS.mic.num
|
||||||
if changes["isMuted"]:
|
if changes["isMuted"]:
|
||||||
|
|
Loading…
Reference in a new issue