def METHOD_NAME(self, value, timeout=None):
    """Wait timeout seconds till hardware in place.
    Args:
        value (str, int): value to be tested.
        timeout(float): Timeout [s]. None means infinite timeout.
    """
    with Timeout(timeout, RuntimeError("Timeout waiting for hardware")):
        while self.value_channel.get_value() != value:
            sleep(0.5)