def __init__(self, *a, **k): DeviceComponentEx.__init__(self, *a, **k) self._param_buttons = [] self.on_off_index = None self.show_sibling_devices_index = None self.hide_sibling_devices_index = None
def set_chain_select_buttons(self, buttons): DeviceComponentEx.set_chain_select_buttons(self, buttons) self._send_chain_colors()
def update(self): DeviceComponentEx.update(self) if not self.is_enabled(): return self._send_param_colors() self._send_chain_colors()