diff --git a/klippy/extras/led.py b/klippy/extras/led.py index 9874ae999863..7b07f9670da1 100644 --- a/klippy/extras/led.py +++ b/klippy/extras/led.py @@ -89,7 +89,9 @@ def get_led_count(self): def set_color(self, index, color): if self.led_state[index - 1] == color: return - self.led_state[index - 1] = color + new_led_state = list(self.led_state) + new_led_state[index - 1] = color + self.led_state = new_led_state self.need_transmit = True def check_transmit(self, print_time): if not self.need_transmit: