def METHOD_NAME(self, name: str, value: Any) -> None:
    self.conn.write(f"var.set {name} = {value}")
    result = self.conn.read()
    if f"Variable {name} set" not in result:
        logger.error(result)