code: def set_status(self, value):
          
          if not self._status == value:
              old = self._status
              self._status = value
              logger.info("{} changing status from {} to {}".format(self, old.name, value.name))
              self._statusChanged(old, value)
docs: Set the status of the motor to the specified value if not already set.