set all leds off on disconnect

This commit is contained in:
Patrick Moessler 2023-06-13 10:41:09 +02:00
parent cd35ccdff4
commit 60d8702359

View file

@ -136,6 +136,7 @@ class State:
else:
for btn in BUTTONS.all:
self.ctrl.set_color(key_num=btn.num, color=(0, 0, 0))
return None
if "isMuted" in changes:
key_num = BUTTONS.mic.num
if changes["isMuted"]: