def _bank_value(self, value): if not self._script._shift_pressed and self.is_enabled(): DeviceComponent._bank_value(self, value)