def _on_off_value(self, value): if (self.is_enabled()): DeviceComponent._on_off_value(self, value) self.show_device_parameters()
def _on_off_value(self, value): if not self._script._shift_pressed and self.is_enabled(): DeviceComponent._on_off_value(self, value)
def _on_off_value(self, value): if (not self._shift_pressed): DeviceComponent._on_off_value(self, value)
def _on_off_value(self, value): if self._on_off_button != None and self.is_enabled(): LiveDeviceComponent._on_off_value(self, value) self.update_on_off_button()
def _on_off_value(self, value): if not self._shift_pressed: DeviceComponent._on_off_value(self, value)