def METHOD_NAME(self, value, timeout=0):
    """Set actuator to value.
    Args:
        value: target value
        timeout (float): optional - timeout [s],
                         If timeout == 0: return at once and do not wait
                                          (default);
                         if timeout is None: wait forever.
    Raises:
        ValueError: Invalid value or attemp to set read only actuator.
        RuntimeError: Timeout waiting for status ready  # From wait_ready
    """
    if self.read_only:
        raise ValueError("Attempt to set value for read-only Actuator")
    if self.validate_value(value):
        self._set_value(value)
        self.update_value()
        if timeout == 0:
            return
        self.wait_ready(timeout)
    else:
        raise ValueError(f"Invalid value {value}")