diff --git a/ControlMixerPython/mixer_leds.py b/ControlMixerPython/mixer_leds.py index 7a285e1..a34a2d1 100644 --- a/ControlMixerPython/mixer_leds.py +++ b/ControlMixerPython/mixer_leds.py @@ -88,7 +88,7 @@ class MixerLeds: print('Init PD failed to start connection') return False if self._known_wattage == self._pd.wattage: - return + return True available_wattage = self._pd.attempt_wattage(30) self._known_wattage = available_wattage[1] if not available_wattage[0]: @@ -100,7 +100,7 @@ class MixerLeds: def set_state(self, state): if not self._init_pd(): - return + return False for idx, led_state in enumerate(get_led_states(state)): if (led_state): @@ -108,3 +108,4 @@ class MixerLeds: else: self._pixels[idx] = (0,0,0) self._pixels.show() + return True